mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Better error checking.
This commit is contained in:
parent
b451f4524e
commit
290e3eed11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41601
@ -33,7 +33,7 @@
|
||||
*
|
||||
* @(#)ipx.c
|
||||
*
|
||||
* $Id: ipx.c,v 1.12 1998/06/07 17:12:18 dfr Exp $
|
||||
* $Id: ipx.c,v 1.13 1998/12/04 22:54:54 archie Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -122,7 +122,7 @@ ipx_control(so, cmd, data, ifp, p)
|
||||
ifra->ifra_addr.sipx_addr))
|
||||
break;
|
||||
}
|
||||
if (cmd == SIOCDIFADDR && ia == NULL)
|
||||
if (ia == NULL)
|
||||
return (EADDRNOTAVAIL);
|
||||
/* FALLTHROUGH */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user