mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sliptty/start_network.sh: fix with DHCPv6
The `start_network.sh` script creates a `${TUN}` interface, so the `${TAP}` variable will always be empty. This means start_dhcpd() will always fail as the DHCPv6 script is lacking an interface.
This commit is contained in:
parent
d8045abdb6
commit
079aea8775
2
dist/tools/sliptty/start_network.sh
vendored
2
dist/tools/sliptty/start_network.sh
vendored
@ -107,7 +107,7 @@ start_uhcpd() {
|
||||
|
||||
start_dhcpd() {
|
||||
DHCPD_PIDFILE=$(mktemp)
|
||||
${DHCPD} -d -p ${DHCPD_PIDFILE} ${TAP} ${PREFIX} 2> /dev/null
|
||||
${DHCPD} -d -p ${DHCPD_PIDFILE} ${TUN} ${PREFIX} 2> /dev/null
|
||||
}
|
||||
|
||||
usage() {
|
||||
|
Loading…
Reference in New Issue
Block a user