hi, I found spelling mistake. would you check the attached patch, please? HARA Hiroshi wrote: > Hi, > > Did you forget to remove these lines? > It seems that if these lines is not removed, > CIDR prefix can not be recognized . > > would you check attached patch, please? > > > ------------------------------------------------------------------------ > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list
diff -u -r1.13 netconfig_dialog.py --- iw/netconfig_dialog.py 25 Jun 2007 14:16:13 -0000 1.13 +++ iw/netconfig_dialog.py 3 Jul 2007 08:36:53 -0000 @@ -194,16 +194,6 @@ self._handleIPError(_("IP Address"), msg) return - try: - network.sanityCheckIPString(ipv4nm) - netdev.set(('netmask', ipv4nm)) - except network.IPMissing, msg: - self._handleIPMissing(_("Netmask"), msg) - return - except network.IPError, msg: - self._handleIPError(_("Netmask"), msg) - return - if ipv4nm.find('.') == -1: # user provided a CIDR prefix try: @@ -213,7 +203,7 @@ return else: ipv4nm = isys.prefix2netmask(int(ipv4nm)) - netdev.sef(('netmask', ipv4nm)) + netdev.set(('netmask', ipv4nm)) except: self._handleIPMissing(_("IPv4 Network Mask"), msg) return @@ -221,7 +211,7 @@ # user provided a dotted-quad netmask try: network.sanityCheckIPString(ipv4nm) - netdev.sef(('netmask', ipv4nm)) + netdev.set(('netmask', ipv4nm)) except network.IPMissing, msg: self._handleIPMissing(_("IPv4 Network Mask"), msg) return