BSD 4_3_Reno release
[unix-history] / usr / src / sys / vaxif / if_ddn.c
index f26a450..2175faa 100644 (file)
@@ -1,4 +1,4 @@
-/*     @(#)if_ddn.c    7.1 (Berkeley) 6/5/86 */
+/*     @(#)if_ddn.c    7.3 (Berkeley) 4/25/89 */
 
 
 /************************************************************************\
 
 
 /************************************************************************\
@@ -61,7 +61,7 @@ Revision History:
 
 #include "ddn.h"
 #if NDDN > 0
 
 #include "ddn.h"
 #if NDDN > 0
-#include "../machine/pte.h"
+#include "machine/pte.h"
 
 #include "param.h"
 #include "systm.h"
 
 #include "param.h"
 #include "systm.h"
@@ -603,7 +603,7 @@ ddnioctl(ifp, cmd, data)
        switch (cmd) {
 
        case SIOCSIFADDR:
        switch (cmd) {
 
        case SIOCSIFADDR:
-               if (ifa->ifa_addr.sa_family != AF_INET)
+               if (ifa->ifa_addr->sa_family != AF_INET)
                        return(EINVAL);
                ifp->if_flags |= IFF_UP;
                if ((ifp->if_flags & IFF_RUNNING) == 0)
                        return(EINVAL);
                ifp->if_flags |= IFF_UP;
                if ((ifp->if_flags & IFF_RUNNING) == 0)