From af6ad0d8ae9235b261799e4384ffc7fc59c4319c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 12 Jul 2012 01:18:40 -0700 Subject: n2xx: fix for usrp_n2xx_net_burner addr decode failure In the windows network address extractor: The except: continue line could get use stuck in an infinite loop. This fix sets addr to None so the code below it does not execute, and the next node in the chain is tested as expected. --- host/utils/usrp_n2xx_net_burner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/utils/usrp_n2xx_net_burner.py') diff --git a/host/utils/usrp_n2xx_net_burner.py b/host/utils/usrp_n2xx_net_burner.py index c52be3d44..f2cfb8ecf 100755 --- a/host/utils/usrp_n2xx_net_burner.py +++ b/host/utils/usrp_n2xx_net_burner.py @@ -199,7 +199,7 @@ def win_get_interfaces(): try: ipAddr = adNode.ipAddress.decode() ipMask = adNode.ipMask.decode() - except: continue + except: ipAddr = None if ipAddr and ipMask: hexAddr = struct.unpack("