projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4027ebe
)
fix ipcalc (off by 1)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 3 Sep 2006 05:35:43 +0000
(
05:35
+0000)
committer
Felix 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
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/bin/ipcalc
b/openwrt/package/base-files/default/bin/ipcalc
index 23af6a0c3b35aaab4b873b11562af038e3903af4..e8efa6b96cf9c05f2b2689ebb462960cce236221 100755
(executable)
--- a/
openwrt/package/base-files/default/bin/ipcalc
+++ b/
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