diff options
Diffstat (limited to 'lib/python/Components')
| -rwxr-xr-x | lib/python/Components/Network.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 8e9fc120..e317ef05 100755 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -74,7 +74,7 @@ class Network: macRegexp = '[0-9]{2}\:[0-9]{2}\:[0-9]{2}\:[a-z0-9]{2}\:[a-z0-9]{2}\:[a-z0-9]{2}' ipLinePattern = re_compile('inet ' + ipRegexp + '/') ipPattern = re_compile(ipRegexp) - netmaskLinePattern = re_compile('/' + netRegexp + ' brd ') + netmaskLinePattern = re_compile(ipRegexp + '/' + netRegexp) netmaskPattern = re_compile(netRegexp) bcastLinePattern = re_compile(' brd ' + ipRegexp) upPattern = re_compile('UP') |
