mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
The minimum size of an RFC3442 destination descriptor is five bytes, so
correct test to -ge 5. Without this change an RFC3442 encoded default route would be ignored. Reported by: Cedric Jonas <cedric at decemplex dot net>
This commit is contained in:
parent
f0cbfcc468
commit
9f0d81ba56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168689
@ -88,7 +88,7 @@ add_new_alias() {
|
||||
|
||||
fill_classless_routes() {
|
||||
set $1
|
||||
while [ $# -gt 5 ]; do
|
||||
while [ $# -ge 5 ]; do
|
||||
if [ $1 -eq 0 ]; then
|
||||
route="default"
|
||||
elif [ $1 -le 8 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user