forked from extern/shorewall_code
Correct Typo in setup_null_routing()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f2311f1987
commit
e09457cdf9
@ -1021,7 +1021,7 @@ sub add_a_route( ) {
|
|||||||
|
|
||||||
sub setup_null_routing() {
|
sub setup_null_routing() {
|
||||||
save_progress_message "Null Routing the RFC 1918 subnets";
|
save_progress_message "Null Routing the RFC 1918 subnets";
|
||||||
emit "> \${VARDIR}undo_rfc1918_routing\n";
|
emit "> \${VARDIR}/undo_rfc1918_routing\n";
|
||||||
for ( rfc1918_networks ) {
|
for ( rfc1918_networks ) {
|
||||||
emit( qq(if ! \$IP -4 route ls | grep -q '^$_.* dev '; then),
|
emit( qq(if ! \$IP -4 route ls | grep -q '^$_.* dev '; then),
|
||||||
qq( run_ip route replace unreachable $_),
|
qq( run_ip route replace unreachable $_),
|
||||||
|
Loading…
Reference in New Issue
Block a user