diff --git a/include/functions b/include/functions index 07ffaa4..2f9492f 100644 --- a/include/functions +++ b/include/functions @@ -145,7 +145,6 @@ function apply_ipv4_hack { # I have things going through specific wires for a reason. This fixes # that and makes it behave as expected. display_c PURPLE " MULTI-NIC-ARP-LOCK" - PROC_NET_IPV4="/proc/sys/net/ipv4/conf" for i in default all; do if [ -w ${PROC_NET_IPV4}/$i/arp_ignore ]; then echo "1" > ${PROC_NET_IPV4}/$i/arp_ignore diff --git a/include/static b/include/static index 2426725..8f0558e 100644 --- a/include/static +++ b/include/static @@ -44,4 +44,7 @@ GREY="\E[37m" DEFAULT_COLOR="\E[39m" # Module names that we may need to load -MOD_U32="xt_u32" \ No newline at end of file +MOD_U32="xt_u32" + +# Location of the ipv4 network conf in proc +PROC_NET_IPV4="/proc/sys/net/ipv4/conf" \ No newline at end of file