gdesksets/files/patch-libdesklets::Network.py

Franz Klammer klammer at webonaut.com
Thu Nov 13 10:15:19 PST 2003


the dedection-code of the network-interfaces in
patch-libdesklets::Network.py is wrong:

        devices = []
        if ("FreeBSD" == platform):
            for lines in data:
                fields = lines.strip().strip(":")

                if (fields[0] == "lo"):

corrections:

        devices = []
        if ("FreeBSD" == platform):
            for lines in data:
                fields = lines.strip().split(":")   <==

                if (fields[0][:2] == "lo"):          <==


franz

-- 
webonaut.com :: web technology
klammer at webonaut.com :: http://webonaut.com/
fon +43-664-3434708
--
MIG_media intelligence group > agentur für werbung & neue medien
A-5020 Salzburg > Linzergasse 21

Fon +43-662-453091-0 > Fax -99
office at mig.co.at > http://www.mig.co.at
--




More information about the freebsd-gnome mailing list