Date: Wed, 28 May 2025 07:33:00 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f131f3c0bf01 - main - convert_ifapi: handle the special case of getting interface name Message-ID: <202505280733.54S7X0PD040988@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=f131f3c0bf017703fba2ee8bea9deb5955e9c4d6 commit f131f3c0bf017703fba2ee8bea9deb5955e9c4d6 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2025-05-28 07:31:53 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2025-05-28 07:31:53 +0000 convert_ifapi: handle the special case of getting interface name Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50445 --- tools/ifnet/convert_ifapi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ifnet/convert_ifapi.sh b/tools/ifnet/convert_ifapi.sh index b226847c9595..13509cd7182c 100755 --- a/tools/ifnet/convert_ifapi.sh +++ b/tools/ifnet/convert_ifapi.sh @@ -157,7 +157,7 @@ handle_misc() { old=`echo "$__ifp__->if_"${word}` new=`echo "if_get"${word}"($__ifp__)"` new=`echo $new | sed -e 's/&/\\\&/'` - line=`echo $line| sed -e's/'$old'/'$new'/g'` + line=`echo $line| sed -e's/'$old'/'$new'/g' | sed -e 's/if_getxname/if_name/'` return 0; fi return 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505280733.54S7X0PD040988>