From 67d2a7ef9ed7f70a962264167527b383ad637303 Mon Sep 17 00:00:00 2001 From: "Leon M. George" Date: Fri, 14 Oct 2022 14:09:34 +0200 Subject: [PATCH] base-files: ipcalc.sh: fix awk regex syntax It worked fine before but gawk warns about it. Signed-off-by: Leon M. George --- package/base-files/files/bin/ipcalc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2