Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 234306
Collapse All | Expand All

(-)coherence/upnp/core/utils.py.old (-1 / +1 lines)
Lines 116-122 Link Here
116
                tmp = route.readline()
116
                tmp = route.readline()
117
                l = tmp.split('\t')
117
                l = tmp.split('\t')
118
                if (len(l) > 2):
118
                if (len(l) > 2):
119
                    if l[2] != '00000000': #default gateway...
119
                    if l[1] == '00000000': #default route
120
                        route.close()
120
                        route.close()
121
                        return get_ip_address(l[0])
121
                        return get_ip_address(l[0])
122
    except IOerror, msg:
122
    except IOerror, msg:

Return to bug 234306