mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 23:57:14 +02:00
Copy blackhole routes to secondary tables.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ef291b79d5
commit
216029c3a9
@ -269,6 +269,9 @@ sub copy_and_edit_table( $$$$ ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
emit ( ' ;;',
|
emit ( ' ;;',
|
||||||
|
' *)',
|
||||||
|
" [ \$net = blackhole ] && run_ip route add table $number \$net \$route $realm",
|
||||||
|
' ;;',
|
||||||
' esac',
|
' esac',
|
||||||
' ;;',
|
' ;;',
|
||||||
' esac',
|
' esac',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user