Add arguments to the enabled and disabled user exits

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-08-03 12:44:15 -07:00
parent ec0e6763e4
commit 5589ab76d9
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -1089,7 +1089,7 @@ CEOF
}
emit( qq(rm -f \${VARDIR}/${physical}_disabled),
'run_enabled_exit'
$pseudo ? "run_enabled_exit ${physical} ${interface}" : "run_enabled_exit ${physical} ${interface} ${table}"
);
emit_started_message( '', 2, $pseudo, $table, $number );
@ -1237,7 +1237,7 @@ CEOF
}
emit( "echo 1 > \${VARDIR}/${physical}.status",
'run_disabled_exit'
$pseudo ? "run_disabled_exit ${physical} ${interface}" : "run_disabled_exit ${physical} ${interface} ${table}"
);
if ( $pseudo ) {