From db352d98eed26fcd50bd0ec867ff8774aedb55ea Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 17 Nov 1995 22:13:12 +0000 Subject: deal with new rarp_getipaddress() semantics --- sys/arch/mvme68k/stand/netboot/dev_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/mvme68k/stand') 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)); -- cgit v1.2.3