ifnet: Rename DrvAPI to "IfAPI"

"DrvAPI" is too generic a name.  Make the name more specific as "IfAPI"
(InterFace API).

Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Justin Hibbits 2023-01-17 15:08:43 -05:00
parent b75062f234
commit 701bb67bc5

View File

@ -235,7 +235,7 @@ then
fi fi
IFS= IFS=
echo -n "Conversion for $file started, please wait: " echo -n "Conversion for $file started, please wait: "
FAIL_PAT="XXX - DRVAPI" FAIL_PAT="XXX - IFAPI"
count=0 count=0
while read -r line while read -r line
do do
@ -272,7 +272,7 @@ echo ""
count=`grep $FAIL_PAT $file.tmp | wc -l` count=`grep $FAIL_PAT $file.tmp | wc -l`
if [ $count -gt 0 ] if [ $count -gt 0 ]
then then
echo "$count lines could not be converted to DRVAPI" echo "$count lines could not be converted to IFAPI"
echo "Look for /* $FAIL_PAT */ in the converted file" echo "Look for /* $FAIL_PAT */ in the converted file"
fi fi
echo "original $file has been moved to $file.orig" echo "original $file has been moved to $file.orig"