From 89312529a517a5dfdddfb67738ee07838a1b4371 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Tue, 23 Jun 2020 00:10:20 +1000 Subject: [PATCH] fix to also gain standard broadcast --- rrqnet-cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrqnet-cron.sh b/rrqnet-cron.sh index 68d04e6..f92ad74 100755 --- a/rrqnet-cron.sh +++ b/rrqnet-cron.sh @@ -16,7 +16,7 @@ function start-cable() { [ -z "$MAC" ] || ifconfig $TAP | grep -q "ether $MAC" || \ ifconfig $TAP hw ether $MAC [ -z "$IP" ] || ip addr show dev $TAP | grep -q $IP || \ - ip addr add $IP dev $TAP + ifconfig $TAP $IP up [ -z "$BR" ] || brctl show | grep -q $TAP || \ brctl addif $BR $TAP exec $RRQNET $VERBOSE -4 ${OPTIONS[@]} -t $TAP $PORT ${VPN[@]} -- 2.39.2