forked from extern/shorewall_code
Flush the arp cache after applying the arprules.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
de4e0898b5
commit
ca202ca10b
@ -274,7 +274,8 @@ sub create_arptables_load( $ ) {
|
||||
'cat ${VARDIR}/.arptables-input | $ARPTABLES_RESTORE # Use this nonsensical form to appease SELinux',
|
||||
'if [ $? != 0 ]; then',
|
||||
qq( fatal_error "arptables-restore Failed. Input is in \${VARDIR}/.arptables-input"),
|
||||
"fi\n"
|
||||
"fi\n",
|
||||
"run_ip neigh flush nud noarp nud stale nud reachable\n",
|
||||
);
|
||||
|
||||
pop_indent;
|
||||
|
Loading…
Reference in New Issue
Block a user