mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 18:13:13 +01:00
Fix detection via 'nexthop'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2169 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2395916b7c
commit
097753ede3
@ -2,6 +2,8 @@ Changes in 2.4.0-RC2
|
||||
|
||||
1) Relax "detect" restriction.
|
||||
|
||||
2) Fix detection via 'nexthop' so it will work with BusyBox
|
||||
|
||||
Changes in 2.4.0-RC1
|
||||
|
||||
1) Fix output from firewall itself vis-a-vis multiple providers.
|
||||
|
@ -828,7 +828,7 @@ find_rt_interface() {
|
||||
|
||||
find_nexthop() # $1 = interface
|
||||
{
|
||||
echo $(find_gateway `ip route ls | grep -E "[[:space:]]*nexthop.* $1"`)
|
||||
echo $(find_gateway `ip route ls | grep "[[:space:]]nexthop.* $1"`)
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user