mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Fix for PR 112937, thanks to Ruslan Ermilov. I am still
a bit confused how the 'link flap' was connected to the 'get' rather than 'set' address, but this seems the right thing to do here.
This commit is contained in:
parent
56b5a9c2a7
commit
8a4787401a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169955
@ -973,7 +973,6 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
|||||||
|
|
||||||
switch (command) {
|
switch (command) {
|
||||||
case SIOCSIFADDR:
|
case SIOCSIFADDR:
|
||||||
case SIOCGIFADDR:
|
|
||||||
if (ifa->ifa_addr->sa_family == AF_INET) {
|
if (ifa->ifa_addr->sa_family == AF_INET) {
|
||||||
/*
|
/*
|
||||||
* XXX
|
* XXX
|
||||||
|
Loading…
Reference in New Issue
Block a user