Page MenuHomeFreeBSD

D50445.diff
No OneTemporary

D50445.diff

diff --git a/tools/ifnet/convert_ifapi.sh b/tools/ifnet/convert_ifapi.sh
--- a/tools/ifnet/convert_ifapi.sh
+++ b/tools/ifnet/convert_ifapi.sh
@@ -157,7 +157,7 @@
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;

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 10:43 AM (7 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35399252
Default Alt Text
D50445.diff (443 B)

Event Timeline