]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r338890:
authorae <ae@FreeBSD.org>
Mon, 1 Oct 2018 08:49:47 +0000 (08:49 +0000)
committerae <ae@FreeBSD.org>
Mon, 1 Oct 2018 08:49:47 +0000 (08:49 +0000)
commitb5686105c3237fe545898b063e34c4fe96de44ac
treeb5dc34de0f2adb96cd02dd9b953cdb9efbe3f684
parent213f6201e9207d7d66033593a118ed5b5d409976
MFC r338890:
  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
sbin/ifconfig/ifipsec.c