aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-10-23 10:12:35 -0400
committersotech117 <michael_foiani@brown.edu>2023-10-23 10:12:35 -0400
commit592a1f0d050147769ce0cb1d0d235150fbd5d8db (patch)
tree6946fe733e75981dc8679afac41767f4de60baa7 /pkg
parent2809c966d60a562525ca11d87c208531fba96649 (diff)
small bug fixing
Diffstat (limited to 'pkg')
-rw-r--r--pkg/ipstack/ipstack.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go
index 59afbcd..8a451f8 100644
--- a/pkg/ipstack/ipstack.go
+++ b/pkg/ipstack/ipstack.go
@@ -186,9 +186,9 @@ func InterfaceListenerRoutine(i *Interface) {
if closed { // stop this go routine if channel is closed
return
}
- if !isUp { // don't call the listeners if interface is down
- continue
- }
+ //if !isUp { // don't call the listeners if interface is down
+ // continue
+ //}
// TODO: remove these "training wheels"
time.Sleep(1 * time.Millisecond)
err := RecvIP(i, &isUp)