opnsense-ports/sysutils/pftop/files/extra-patch-bpf_dump.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 lines
414 B
C

--- bpf_dump.c.orig 2007-11-07 07:34:18.000000000 +0100
+++ bpf_dump.c 2014-10-17 12:39:01.000000000 +0200
@@ -33,10 +33,10 @@
#include <stdio.h>
-extern void bpf_dump(struct bpf_program *, int);
+extern void bpf_dump(const struct bpf_program *, int);
void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
{
struct bpf_insn *insn;
int i;