rfxn / advanced-policy-firewall

Advanced Policy Firewall (APF)
GNU General Public License v2.0
93 stars 46 forks source link

eth0 hard coded in internals.conf #1

Closed bnugent closed 10 years ago

bnugent commented 10 years ago

Line 38 in internals.conf has "eth0" hard coded instead of what should probably be $IFACE_UNTRUSTED like the line above it.

NET=`$ip addr list eth0 | tr '/' ' ' |  grep -w inet | head -n1 | awk '{print$2}'`

This prevents apf from starting on systems that do not have eth0 (i.e. using em1, em2, etc)

rfxn commented 10 years ago

Thanks for passing this along, this has been fixed and pushed.