vhangup to clear pty
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 30 Dec 1982 07:56:14 +0000 (23:56 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Thu, 30 Dec 1982 07:56:14 +0000 (23:56 -0800)
SCCS-vsn: libexec/telnetd/telnetd.c 4.14

usr/src/libexec/telnetd/telnetd.c

index cf707df..cccb361 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)telnetd.c  4.13 82/12/25";
+static char sccsid[] = "@(#)telnetd.c  4.14 82/12/29";
 #endif
 
 /*
 #endif
 
 /*
@@ -582,9 +582,7 @@ cleanup()
        int how = 2;
 
        rmut();
        int how = 2;
 
        rmut();
-#ifdef notdef
-       vhangup();
-#endif
+       vhangup();      /* XXX */
        ioctl(net, SIOCDONE, &how);
        kill(0, SIGKILL);
        exit(1);
        ioctl(net, SIOCDONE, &how);
        kill(0, SIGKILL);
        exit(1);