The loop operator should be bit *= 2, not bit++.
--
unable to configure a fixed ip on wired interface on knetworkmanager (intrepid)
https://bugs.launchpad.net/bugs/279409
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to knetworkmanager in ubuntu.
I traced down this bug to knetworkmanager-0.7/src/knetworkmanager-
connection_setting_ipv4.cpp line 220:
cur_ip.append(QDBusData::fromUInt32(swap32((*it).netmask.toIPv4Address(;
KNetworkManager provides the netmask in decimal notation, but
NetworkManager expects it to be in CIDR-notation. I'm