updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wicd-ipv6 / net-tools.patch
blob2de137eb994ef9fb6b66ff2b6ffb9d697e9c3bda
1 --- wicd/wnettools.py.bak 2011-08-20 12:55:32.898673334 +0200
2 +++ wicd/wnettools.py 2011-08-20 12:55:56.608671946 +0200
3 @@ -58,7 +58,7 @@
4 wpa2_pattern = re.compile('(WPA2)', _re_mode)
6 #iwconfig-only regular expressions.
7 -ip_pattern = re.compile(r'inet [Aa]d?dr[^.]*:([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
8 +ip_pattern = re.compile(r'inet ([^.]*\.[^.]*\.[^.]*\.[0-9]*)', re.S)
9 bssid_pattern = re.compile('.*Access Point: (([0-9A-Z]{2}:){5}[0-9A-Z]{2})', _re_mode)
10 bitrate_pattern = re.compile('.*Bit Rate[=:](.*?/s)', _re_mode)
11 opmode_pattern = re.compile('.*Mode:(.*?) ', _re_mode)