From 396ea0071a4e55e3cccc30faf043a0a804fbb535 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 17 Nov 1995 22:13:11 +0000 Subject: [PATCH] deal with new rarp_getipaddress() semantics --- sys/arch/mvme68k/stand/netboot/dev_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mvme68k/stand/netboot/dev_net.c b/sys/arch/mvme68k/stand/netboot/dev_net.c index 1562fe6c38b..3f0cef24cff 100644 --- a/sys/arch/mvme68k/stand/netboot/dev_net.c +++ b/sys/arch/mvme68k/stand/netboot/dev_net.c @@ -1,4 +1,4 @@ -/* $Id: dev_net.c,v 1.3 1995/11/07 08:50:59 deraadt Exp $ */ +/* $Id: dev_net.c,v 1.4 1995/11/17 22:13:11 deraadt Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -138,7 +138,7 @@ net_mountroot(f, devname) /* Get boot info using RARP and Sun bootparams. */ /* Get our IP address. (rarp.c) */ - if ((myip.s_addr = rarp_getipaddress(netdev_sock)) == 0) + if (rarp_getipaddress(netdev_sock) == -1) return (EIO); printf("boot: client IP address: %s\n", intoa(myip.s_addr)); -- 2.20.1