Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit a3b0faa

Browse files
committed
Scripts: Set hybrid mode to server
1 parent b4ca48b commit a3b0faa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/ipv6-helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,17 @@ elif [[ $1 = "server" ]]; then
103103
# Set server to lan
104104
uci set dhcp.lan.dhcpv6=server
105105
uci set dhcp.lan.ra=server
106+
uci set dhcp.wan6.ndp=hybrid
106107
uci set dhcp.lan.ra_management=1
107108
uci set dhcp.lan.ra_default=1
108-
uci delete dhcp.lan.ndp
109109

110110
# Set server to wan6
111111
uci set dhcp.wan6=dhcp
112112
uci set dhcp.wan6.interface=wan
113113
uci set dhcp.wan6.ra=server
114114
uci set dhcp.wan6.dhcpv6=server
115+
uci set dhcp.wan6.ndp=hybrid
115116
uci set dhcp.wan6.master=1
116-
uci delete dhcp.wan6.ndp
117117

118118
# Commit changes
119119
uci commit

0 commit comments

Comments
 (0)