mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 00:23:28 +01:00
Fix typo which broke use of arping
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2426 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5f58eac0f7
commit
5f37ce46bf
@ -1090,7 +1090,7 @@ verify_mark() # $1 = value to test
|
|||||||
#
|
#
|
||||||
setup_providers()
|
setup_providers()
|
||||||
{
|
{
|
||||||
local table number mark duplicate interface gateway options provider address copy route loose addresses rulenum pref
|
local table number mark duplicate interface gateway options provider address copy route loose addresses rulenum pref echobin=$(mywhich echo)
|
||||||
|
|
||||||
copy_table() {
|
copy_table() {
|
||||||
run_ip route show table $duplicate | while read net route; do
|
run_ip route show table $duplicate | while read net route; do
|
||||||
@ -1252,7 +1252,7 @@ EOF
|
|||||||
|
|
||||||
for table in $PROVIDERS; do
|
for table in $PROVIDERS; do
|
||||||
eval number=\$${table}_number
|
eval number=\$${table}_number
|
||||||
/bin/echo -e "$number\t$table" >> /etc/iproute2/rt_tables
|
${echobin:-echo} -e "$number\t$table" >> /etc/iproute2/rt_tables
|
||||||
done
|
done
|
||||||
|
|
||||||
save_command "cat > /etc/iproute2/rt_tables << __EOF__"
|
save_command "cat > /etc/iproute2/rt_tables << __EOF__"
|
||||||
|
Loading…
Reference in New Issue
Block a user