aboutsummaryrefslogtreecommitdiff
path: root/tools/ifnet/convert_ifapi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ifnet/convert_ifapi.sh')
-rwxr-xr-xtools/ifnet/convert_ifapi.sh2
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;