projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e4850
)
fix parsing
author
Mike Baker
<mbm@openwrt.org>
Sun, 26 Mar 2006 23:27:03 +0000
(23:27 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Sun, 26 Mar 2006 23:27:03 +0000
(23:27 +0000)
SVN-Revision: 3504
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 7a9c6077754df7a1b5876a4f478f93bcfb2e441a..318980e5a25f25de5cc53d065faf8571228af8a6 100755
(executable)
--- a/
openwrt/package/base-files/default/bin/ipcalc
+++ b/
openwrt/package/base-files/default/bin/ipcalc
@@
-11,7
+11,7
@@
BEGIN {
limit=network+1
if (start<limit) start=limit
- end=
or(start,and(ip2int(ARGV[4]),compl(netmask)))
+ end=
start+ARGV[4]
limit=or(network,compl(netmask))-1
if (end>limit) end=limit