mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +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()
|
||||
{
|
||||
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() {
|
||||
run_ip route show table $duplicate | while read net route; do
|
||||
@ -1252,7 +1252,7 @@ EOF
|
||||
|
||||
for table in $PROVIDERS; do
|
||||
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
|
||||
|
||||
save_command "cat > /etc/iproute2/rt_tables << __EOF__"
|
||||
@ -6627,7 +6627,7 @@ add_ip_aliases()
|
||||
ensure_and_save_command ip addr add ${external}${val} dev $interface $label
|
||||
fi
|
||||
|
||||
[ -n "$arping"] && run_and_save_command qt $arping -U -c 2 -I $interface $external
|
||||
[ -n "$arping" ] && run_and_save_command qt $arping -U -c 2 -I $interface $external
|
||||
|
||||
echo "$external $interface" >> /var/lib/shorewall/nat
|
||||
[ -n "$label" ] && label="with $label"
|
||||
|
Loading…
Reference in New Issue
Block a user