package/base-files: allow ipv6 routes without gateway specified
SVN-Revision: 13419
This commit is contained in:
parent
ce5d8a935c
commit
7c4f0fcbe7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ add_route6() {
|
||||||
config_get gateway "$interface" gateway
|
config_get gateway "$interface" gateway
|
||||||
}
|
}
|
||||||
|
|
||||||
/sbin/route -A inet6 add $target gw "$gateway" ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
|
/sbin/route -A inet6 add $target ${gateway:+gw "$gateway"} ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
|
|
Loading…
Reference in a new issue