fix ipcalc (off by 1)

SVN-Revision: 4737
master
Felix Fietkau 19 years ago
parent 4027ebea19
commit 73242900e3
  1. 3
      openwrt/package/base-files/default/bin/ipcalc

@ -1,5 +1,4 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
awk -f /usr/lib/common.awk -f - $* <<EOF
BEGIN {
@ -27,7 +26,7 @@ BEGIN {
if (ARGC > 3) {
print "START="int2ip(start)
print "END="int2ip(end)
print "END="int2ip(end-1)
}
}
EOF

Loading…
Cancel
Save