mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 08:52:42 +01:00
Killed a couple lines of redundant code.
This commit is contained in:
parent
92678d4679
commit
0a779360e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9276
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
|
||||
* $Id: if_sl.c,v 1.21 1995/06/21 08:48:19 davidg Exp $
|
||||
* $Id: if_sl.c,v 1.22 1995/06/21 09:11:22 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -909,10 +909,6 @@ slioctl(ifp, cmd, data)
|
||||
switch (cmd) {
|
||||
|
||||
case SIOCSIFADDR:
|
||||
if (ifa->ifa_addr->sa_family != AF_INET)
|
||||
error = EAFNOSUPPORT;
|
||||
break;
|
||||
|
||||
case SIOCSIFDSTADDR:
|
||||
if (ifa->ifa_addr->sa_family != AF_INET)
|
||||
error = EAFNOSUPPORT;
|
||||
|
Loading…
Reference in New Issue
Block a user