fix ipcalc (off by 1)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Sep 2006 05:35:43 +0000 (05:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Sep 2006 05:35:43 +0000 (05:35 +0000)
SVN-Revision: 4737

openwrt/package/base-files/default/bin/ipcalc

index 318980e5a25f25de5cc53d065faf8571228af8a6..e8efa6b96cf9c05f2b2689ebb462960cce236221 100755 (executable)
@@ -26,7 +26,7 @@ BEGIN {
        
        if (ARGC > 3) {
                print "START="int2ip(start)
-               print "END="int2ip(end)
+               print "END="int2ip(end-1)
        }
 }
 EOF