mirror of https://github.com/hak5/openwrt-owl.git
parent
570eb45f23
commit
140a5b22d9
|
@ -68,7 +68,7 @@ setup_interface () {
|
|||
proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid"
|
||||
else
|
||||
proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "::/128"
|
||||
for prefix in $PREFIXES; do
|
||||
for prefix in $PREFIXES $ADDRESSES; do
|
||||
local paddr="${prefix%%,*}"
|
||||
proto_add_ipv6_route "$addr" "$mask" "$gw" "$metric" "$valid" "$paddr"
|
||||
done
|
||||
|
|
|
@ -49,7 +49,7 @@ proto_dhcpv6_setup() {
|
|||
|
||||
[ -n "$ip6prefix" ] && proto_export "USERPREFIX=$ip6prefix"
|
||||
[ -n "$iface_dslite" ] && proto_export "IFACE_DSLITE=$iface_dslite"
|
||||
[ "$sourcerouting" = "1" ] && proto_export "SOURCE_ROUTING=1"
|
||||
[ "$sourcerouting" != "0" ] && proto_export "SOURCE_ROUTING=1"
|
||||
|
||||
proto_export "INTERFACE=$config"
|
||||
proto_run_command "$config" odhcp6c \
|
||||
|
|
Loading…
Reference in New Issue