Moving variable PROC_NET_IPV4 to static includes
parent
ae76016f74
commit
0bcd507a6f
|
@ -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
|
||||
|
|
|
@ -44,4 +44,7 @@ GREY="\E[37m"
|
|||
DEFAULT_COLOR="\E[39m"
|
||||
|
||||
# Module names that we may need to load
|
||||
MOD_U32="xt_u32"
|
||||
MOD_U32="xt_u32"
|
||||
|
||||
# Location of the ipv4 network conf in proc
|
||||
PROC_NET_IPV4="/proc/sys/net/ipv4/conf"
|
Loading…
Reference in New Issue