Parse newer ifconfig output
The new version omits the "addr:" prefix.
@@ -504,7 +504,7 @@ module HelperFunctions
# Normally we would scan for 'inet addr:', but in non-English locales,
# 'addr' gets translated to the native language, which messes up that
# regex.
- bound_addrs = ifconfig.scan(/inet .*?:(\d+.\d+.\d+.\d+) /).flatten
+ bound_addrs = ifconfig.scan(/inet .*?(\d+.\d+.\d+.\d+) /).flatten
Djinn.log_debug('ifconfig reports bound IP addresses as ' \
"[#{bound_addrs.join(', ')}]")
