mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
7cc16fa8e4
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
12 lines
294 B
Plaintext
12 lines
294 B
Plaintext
--- tcpmssd.c~ Mon Jul 17 20:57:24 2000
|
|
+++ tcpmssd.c Mon Nov 13 10:10:37 2000
|
|
@@ -176,7 +176,7 @@
|
|
continue;
|
|
}
|
|
|
|
- if (FD_ISSET(rtsock, &fdset)) {
|
|
+ if (rtsock != -1 && FD_ISSET(rtsock, &fdset)) {
|
|
struct if_msghdr ifm;
|
|
|
|
if ((pktlen = read(rtsock, &ifm, sizeof(ifm))) == -1) {
|