typo
authorMike Baker <mbm@openwrt.org>
Sat, 25 Mar 2006 07:43:27 +0000 (07:43 +0000)
committerMike Baker <mbm@openwrt.org>
Sat, 25 Mar 2006 07:43:27 +0000 (07:43 +0000)
SVN-Revision: 3476

openwrt/package/base-files/default/usr/lib/common.awk

index a9ab0f1645ac980330593f40cc7edddb394904fc..63a8cf23d8aa53495e3fc924d80797917182bb7d 100644 (file)
@@ -61,6 +61,6 @@ function ip2int(ip) {
 function int2ip(ip,ret,x) {
        ret=and(ip,255)
        ip=rshift(ip,8)
-       for(x<3;ret=and(ip,255)"."ret,ip=rshift(ip,8),x++)
+       for(;x<3;ret=and(ip,255)"."ret,ip=rshift(ip,8),x++);
        return ret
 }