openbsd-ports/net/trafshow/patches/patch-trafshow_c
brad ce9856f9ad - integrate COMMENT
- bump NEED_VERSION
- add KAME IPv6 patch
- remove LICENSE_TYPE
- move sample config file from PREFIX/lib/trafshow to
PREFIX/share/examples/trafshow
- rename patches
- trim DESCR
- fixup INSTALL/DEINSTALL
2001-04-03 02:43:44 +00:00

21 lines
453 B
Plaintext

$OpenBSD: patch-trafshow_c,v 1.1 2001/04/03 02:43:46 brad Exp $
--- trafshow.c.orig Mon Apr 2 22:24:05 2001
+++ trafshow.c Mon Apr 2 22:24:06 2001
@@ -62,7 +62,7 @@ int use_colors = FALSE;
int resize_flag = 0;
int addr_size, proto_size, bytes_size, cps_size, count_size;
-void
+int
main(argc, argv)
int argc;
char **argv;
@@ -202,6 +202,7 @@ main(argc, argv)
error(0, pcap_geterr(pd));
pcap_close(pd);
cleanup(0);
+ return 0;
}
/*