unp_remaddr becomes unp_addr
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 2 Feb 1986 11:23:14 +0000 (03:23 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 2 Feb 1986 11:23:14 +0000 (03:23 -0800)
SCCS-vsn: usr.bin/netstat/unix.c 5.2

usr/src/usr.bin/netstat/unix.c

index 351a10d..70623ee 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)unix.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)unix.c     5.2 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -86,9 +86,9 @@ unixdomainpr(so, soaddr)
        klseek(kmem, so->so_pcb, L_SET);
        if (read(kmem, unp, sizeof (*unp)) != sizeof (*unp))
                return;
        klseek(kmem, so->so_pcb, L_SET);
        if (read(kmem, unp, sizeof (*unp)) != sizeof (*unp))
                return;
-       if (unp->unp_remaddr) {
+       if (unp->unp_addr) {
                m = &mbuf;
                m = &mbuf;
-               klseek(kmem, unp->unp_remaddr, L_SET);
+               klseek(kmem, unp->unp_addr, L_SET);
                if (read(kmem, m, sizeof (*m)) != sizeof (*m))
                        m = (struct mbuf *)0;
        } else
                if (read(kmem, m, sizeof (*m)) != sizeof (*m))
                        m = (struct mbuf *)0;
        } else