From 290e3eed11439a05be63134128e4fbf1cf91e9f7 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Tue, 8 Dec 1998 20:41:05 +0000 Subject: [PATCH] Better error checking. --- sys/netipx/ipx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c index 752c2dc02d1e..11bfd9013a17 100644 --- a/sys/netipx/ipx.c +++ b/sys/netipx/ipx.c @@ -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 @@ -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 */