getpeer
[unix-history] / usr / src / sys / netinet / tcp_usrreq.c
index 9a50528..51a7a44 100644 (file)
@@ -1,4 +1,4 @@
-/*     tcp_usrreq.c    1.80    83/06/20        */
+/*     tcp_usrreq.c    1.81    83/07/25        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -272,6 +272,10 @@ tcp_usrreq(so, req, m, nam, rights)
                in_setsockaddr(inp, nam);
                break;
 
                in_setsockaddr(inp, nam);
                break;
 
+       case PRU_PEERADDR:
+               in_setpeeraddr(inp, nam);
+               break;
+
        /*
         * TCP slow timer went off; going through this
         * routine for tracing's sake.
        /*
         * TCP slow timer went off; going through this
         * routine for tracing's sake.