diff options
author | Leon M. George <leon@georgemail.eu> | 2022-10-14 14:09:34 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-02-07 21:05:58 +0100 |
commit | 67d2a7ef9ed7f70a962264167527b383ad637303 (patch) | |
tree | 486376bc42c7225a15843f833b14d3f721af28cf /package/base-files | |
parent | 2903924b576c19ab64490917ec46cb3bee790ad2 (diff) | |
download | upstream-67d2a7ef9ed7f70a962264167527b383ad637303.tar.gz upstream-67d2a7ef9ed7f70a962264167527b383ad637303.tar.bz2 upstream-67d2a7ef9ed7f70a962264167527b383ad637303.zip |
base-files: ipcalc.sh: fix awk regex syntax
It worked fine before but gawk warns about it.
Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/bin/ipcalc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh index 99269fff06..56854b4104 100755 --- 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) { ret=0 - n=split(ip,a,"\.") + n=split(ip,a,"\\.") for (x=1;x<=n;x++) ret=or(lshift(ret,8),a[x]) return ret |