getipforwarding(1M)
getipforwarding - get ipforwarding state using systune
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.15.
NAME getipforwarding - 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 ALSO sysmgr(1), runpriv(1M), systune(1M).