diff options
| author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2025-05-28 07:31:53 +0000 |
|---|---|---|
| committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2025-05-28 07:31:53 +0000 |
| commit | f131f3c0bf017703fba2ee8bea9deb5955e9c4d6 (patch) | |
| tree | 37fb60b7efd64d6781d8b0f9432728b7b0186344 /tools/ifnet | |
| parent | 18a62137df40da29d2258e024a778ee559dedd30 (diff) | |
Diffstat (limited to 'tools/ifnet')
| -rwxr-xr-x | tools/ifnet/convert_ifapi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
