[Rear-users] SF.net SVN: rear:[554] trunk/usr/share/rear/lib/network-functions.sh

dag- at users.sourceforge.net dag- at users.sourceforge.net
Sat Jun 4 03:09:28 CEST 2011


Revision: 554
          http://rear.svn.sourceforge.net/rear/?rev=554&view=rev
Author:   dag-
Date:     2011-06-04 01:09:28 +0000 (Sat, 04 Jun 2011)

Log Message:
-----------
Revert change

Modified Paths:
--------------
    trunk/usr/share/rear/lib/network-functions.sh

Modified: trunk/usr/share/rear/lib/network-functions.sh
===================================================================
--- trunk/usr/share/rear/lib/network-functions.sh	2011-06-03 23:05:43 UTC (rev 553)
+++ trunk/usr/share/rear/lib/network-functions.sh	2011-06-04 01:09:28 UTC (rev 554)
@@ -210,8 +210,7 @@
                 DEC=${MASKS[$BITS]}
                 (( MASK == DEC )) && break
         done
-        (( DEC >= 0 ))
-        StopIfError "Main: netmask [$2] seems to be invalid."
+        (( DEC < 0 )) && Error "Main: netmask [$2] seems to be invalid."
         NETADDR=$(num2ip "$(( ADDRESS & MASK ))")
     else
         NETADDR=$(num2ip "$ADDRESS")


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rear-users mailing list