forked from extern/shorewall_code
Add comment to prog.header
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8004 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1ad38d74ea
commit
ea3d2ca638
@ -389,7 +389,9 @@ broadcastaddress() {
|
||||
in_network() # $1 = IP address, $2 = CIDR network
|
||||
{
|
||||
local netmask=$(ip_netmask $2)
|
||||
|
||||
#
|
||||
# Use string comparison to work around a broken BusyBox ash in OpenWRT
|
||||
#
|
||||
test $(( $(decodeaddr $1) & $netmask)) = $(( $(decodeaddr ${2%/*}) & $netmask ))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user