Flush the arp cache after applying the arprules.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-01-06 17:46:40 -08:00
parent de4e0898b5
commit ca202ca10b

View File

@ -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;