mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
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
This commit is contained in:
parent
18a62137df
commit
f131f3c0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue