[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jun 2 11:35:10 CDT 2011


branch "review" has been updated
       via  eb59179ef5348d2414e5a47ee44a1cd24e161541 (commit)
      from  e132f1977cccad9a7925efbe43cf04e219c73f57 (commit)

Summary of changes:
 remote.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit eb59179ef5348d2414e5a47ee44a1cd24e161541
Author: Darren Sessions <dsessions at digium.com>
Date:   Thu Jun 2 11:35:09 2011 -0500

    fixed the ipv4 / ipv6 resolver in the remote script

diff --git a/remote.py b/remote.py
index fa26ce2..97993e5 100755
--- a/remote.py
+++ b/remote.py
@@ -276,7 +276,7 @@ def discoverIps():
         else:
             return results
     if plat == 'Linux':
-        return (tryToGetIP('ipv4',['ip','addr','show','%s' % iface], 'inet', ['sed','-e','/fe/d','-e','s/ *inet *//g','-e','s/\/.*$//g']),
+        return (tryToGetIP('ipv4',['ip','addr','show','%s' % iface], 'inet', ['sed','-e','/f/d','-e','s/ *inet *//g','-e','s/\/.*$//g']),
             tryToGetIP('ipv6',['ip','addr','show','%s' % iface], 'inet6', ['sed','-e','/fe80/d','-e','s/ *inet6 *//g','-e','s/\/64.*$//g']))
     elif plat == 'Darwin':
         return (tryToGetIP('ipv4',['ifconfig','%s' % iface], 'inet ', ['sed','-e','s/\t*inet *//g','-e','s/netmask.*$//g','-e','s/\ //g']),

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list