base-files: ipcalc.sh: fix off-by-one in range-calculation
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Jun 2009 11:35:33 +0000 (11:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 29 Jun 2009 11:35:33 +0000 (11:35 +0000)
SVN-Revision: 16619

package/base-files/files/bin/ipcalc.sh

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