openbsd-ports/net/cnupm/patches/patch-include_cnupm_h
grange 1236d6ba87 Import cnupm-3.5.
cnupm is an IPv4/IPv6 traffic collector daemon; it listens on a network
interface for IPv4/IPv6 packets that match the boolean expression (see
tcpdump(8) for more information) and collects the following statistics:

     o   address family (INET/INET6)
     o   IPv4/IPv6 protocol number
     o   source IPv4/IPv6 address
     o   source TCP/UDP port
     o   destination IPv4/IPv6 address
     o   destination TCP/UDP port
     o   total number of bytes transferred

Based on the port from the cnupm author
Oleg Safiullin <form@pdp-11.org.ru>.

Help and ok pval@ naddy@.
2004-05-13 06:52:36 +00:00

14 lines
413 B
Plaintext

$OpenBSD: patch-include_cnupm_h,v 1.1.1.1 2004/05/13 06:52:36 grange Exp $
--- include/cnupm.h.orig 2004-04-22 10:40:20.000000000 +0700
+++ include/cnupm.h 2004-04-26 20:31:39.000000000 +0700
@@ -34,7 +34,9 @@
#define CNUPM_VERSION_MAJOR 3
#define CNUPM_VERSION_MINOR 5
+#ifndef CNUPM_USER
#define CNUPM_USER "cnupm"
+#endif
#define CNUPM_PIDFILE "cnupm-%s.pid"
#define CNUPM_DUMPFILE "cnupm-%s.dump"