]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update ifr_name before invoking IPSECSREQID ioctl, this fixes the case,
authorae <ae@FreeBSD.org>
Sat, 22 Sep 2018 16:30:48 +0000 (16:30 +0000)
committerae <ae@FreeBSD.org>
Sat, 22 Sep 2018 16:30:48 +0000 (16:30 +0000)
commita171add96e1ec6cb30876865e4189bafbe64c8f9
tree4e8f16a4fda662d3c7f9710e8dc10580b38e2709
parent76423570504581c90b5dbe356e047bf2df61d665
Update ifr_name before invoking IPSECSREQID ioctl, this fixes the case,
when `ifconfig ipsec create reqid N` command invoked without interface
unit number. The "name" global variable is updated after interface
cloning in the ifclonecreate() and contains actual interface name.

Reported by: lev
Approved by: re (kib)
MFC after: 1 week
sbin/ifconfig/ifipsec.c