mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 07:16:16 +02:00
fix ipcalc (off by 1)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4737 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
294c072126
commit
cc845615ce
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) 2006 OpenWrt.org
|
|
||||||
|
|
||||||
awk -f /usr/lib/common.awk -f - $* <<EOF
|
awk -f /usr/lib/common.awk -f - $* <<EOF
|
||||||
BEGIN {
|
BEGIN {
|
||||||
@ -27,7 +26,7 @@ BEGIN {
|
|||||||
|
|
||||||
if (ARGC > 3) {
|
if (ARGC > 3) {
|
||||||
print "START="int2ip(start)
|
print "START="int2ip(start)
|
||||||
print "END="int2ip(end)
|
print "END="int2ip(end-1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user