YaST2 Developers Documentation: Configuration YaST2 Firewall

Configuration YaST2 Firewall

firewall/generalfunctions
General Handling Functions

This module has an unstable interface.

Imports

  • PortAliases

Local Functions

local GetPortNumber (string port_to_be_checked) -> string

Function returns port number of port name got as parameter. If no port number found, nil is returned.

Parameters:
port_to_be_checked
local GetPortName (string port_to_be_checked) -> string

Function returns port name of port number got as parameter. If no port name found, nil is returned.

Parameters:
port_to_be_checked