projects
/
openwrt
/
staging
/
luka.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: fix whitespaces
[openwrt/staging/luka.git]
/
package
/
base-files
/
files
/
bin
/
ipcalc.sh
diff --git
a/package/base-files/files/bin/ipcalc.sh
b/package/base-files/files/bin/ipcalc.sh
index 7463d6bdda9cdabb0d10fefb7bb82a8a00e46a4c..27a52d6f83d72d56c7a74e08c0dd8f7b445c341f 100755
(executable)
--- a/
package/base-files/files/bin/ipcalc.sh
+++ b/
package/base-files/files/bin/ipcalc.sh
@@
-11,7
+11,7
@@
function bitcount(c) {
}
function ip2int(ip) {
- for (ret=0,n=split(ip,a,"\."),x=1;x<=n;x++) ret=or(lshift(ret,8),a[x])
+ for (ret=0,n=split(ip,a,"\."),x=1;x<=n;x++) ret=or(lshift(ret,8),a[x])
return ret
}