GETIPFORWARDING(1M)GETIPFORWARDING(1M)NAMEgetipforwarding - get ipforwarding state using systune
SYNOPSIS
/usr/sysadm/privbin/getipforwarding
DESCRIPTION
Getipforwarding uses systune to get the ipforwarding state. Systune
supports ipforwarding since 6.3 only. When the command is completed, it
writes a '1' to stdout if ipforwarding is on and a '0' if it is off. If
the ipforwarding systune is equal to 2 (i.e. forward packets unless they
contain a source-route option) getipforwarding returns 1.
SEE ALSOsysmgr(1), runpriv(1M), systune(1M).
Page 1