openbsd-ports/net/trafshow/patches/patch-ac
1998-08-28 15:32:32 +00:00

20 lines
348 B
Plaintext

--- trafshow.c.orig Fri Aug 28 11:19:37 1998
+++ trafshow.c Fri Aug 28 11:20:17 1998
@@ -62,7 +62,7 @@
int resize_flag = 0;
int addr_size, proto_size, bytes_size, cps_size, count_size;
-void
+int
main(argc, argv)
int argc;
char **argv;
@@ -192,6 +192,7 @@
error(0, pcap_geterr(pd));
pcap_close(pd);
cleanup(0);
+ return 0;
}
/*