freebsd-src/sbin/ifconfig
Zhenlei Huang bab5ce8dea ifconfig: Fix configuring if_bridge with additional operating parameters
For clone create and rename operations, the interface name get back can be
different from the one passed to ioctl(). Use the interface name we get back
so that ifconfig will not return unexpected ENXIO.

PR:		270618
Reviewed by:	kp
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D39396

(cherry picked from commit 09e5e3d598)
2023-04-10 12:15:05 +08:00
..
tests
af_inet.c ifconfig: warn if setting an Internet address without mask 2021-12-10 10:24:51 -06:00
af_inet6.c ifconfig: warn if setting an Internet address without mask 2021-12-10 10:24:51 -06:00
af_link.c ifconfig(8): optimize -f ether:dash mode 2020-06-26 16:20:34 +00:00
af_nd6.c Update for IETF draft-ietf-6man-ipv6only-flag. 2019-03-06 23:31:42 +00:00
carp.c sbin/ifconfig: Use a global libifconfig handle 2021-03-17 18:24:49 -04:00
ifbridge.c ifconfig: Fix configuring if_bridge with additional operating parameters 2023-04-10 12:15:05 +08:00
ifclone.c sbin/ifconfig: Use a global libifconfig handle 2021-03-17 18:24:49 -04:00
ifconfig.8 vxlan: Add support for socket ioctls SIOC[SG]TUNFIB 2023-01-11 18:35:59 +08:00
ifconfig.c ifconfig: print interface name on SIOCIFCREATE2 error 2022-09-21 11:39:13 +00:00
ifconfig.h ifconfig: warn if setting an Internet address without mask 2021-12-10 10:24:51 -06:00
iffib.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgif.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifgre.c Add GRE-in-UDP encapsulation support as defined in RFC8086. 2019-04-24 09:05:45 +00:00
ifgroup.c sbin/ifconfig: Use a global libifconfig handle 2021-03-17 18:24:49 -04:00
ifieee80211.c ifconfig(8): Fix a typo in source code comment 2022-09-06 07:37:32 +02:00
ifipsec.c Update ifr_name before invoking IPSECSREQID ioctl, this fixes the case, 2018-09-22 16:30:48 +00:00
iflagg.c sbin/ifconfig: Use a global libifconfig handle 2021-03-17 18:24:49 -04:00
ifmac.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifmedia.c ifconfig: Reuse media state in ifmedia_getstate 2021-04-15 22:42:45 -04:00
ifpfsync.c pfsync: fix incorrect enabling of defer mode 2021-12-13 14:49:27 +01:00
ifvlan.c ifconfig: Improve VLAN identifier parsing 2023-04-10 12:15:05 +08:00
ifvxlan.c Ensure consistent error messages from ifconfig(8). 2020-11-26 16:36:50 +00:00
Makefile base: remove if_wg(4) and associated utilities, manpage 2021-03-18 07:07:56 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
sfp.c sbin/ifconfig: Use a global libifconfig handle 2021-03-17 18:24:49 -04:00