Package: softflowd / 0.9.9-5

cherry-pick.softflowd-0.9.9-9-gb7e50ae.added-support-for-the-pflog-datalink-type-and-fixed-some-typos.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Subject: Added support for the pflog datalink type and fixed some typos
Origin: softflowd-0.9.9-9-gb7e50ae <https://github.com/irino/softflowd/commit/softflowd-0.9.9-9-gb7e50ae>
Upstream-Author: SysError956 <paulgodard@gmail.com>
Date: Thu Mar 23 20:36:50 2017 -0400

--- a/softflowd.8
+++ b/softflowd.8
@@ -116,7 +116,7 @@
 that the accounting datagrams are to be sent to.
 The host may be specified using a hostname or using a numeric IPv4 or
 IPv6 address.
-Numeric IPv6 addresses should be encosed in square brackets to avoid ambiguity
+Numeric IPv6 addresses should be enclosed in square brackets to avoid ambiguity
 between the address and the port.
 The destination port may be a portname listed in
 .Xr services 5
--- a/softflowd.c
+++ b/softflowd.c
@@ -90,6 +90,9 @@
 #ifdef DLT_LOOP
 	{ DLT_LOOP,	 4,  0,  4,  1, 0xffffffff, AF_INET, AF_INET6 },
 #endif
+#ifdef DLT_PFLOG
+        { DLT_PFLOG,    48,  1,  1,  0, 0x000000ff, AF_INET, AF_INET6 },
+#endif
 	{ -1,		-1, -1, -1, -1, 0x00000000,  0xffff,   0xffff },
 };
 
@@ -1297,7 +1300,7 @@
 		print_timeouts(ft, ctlf);
 		ret = 0;
 	} else {
-		fprintf(ctlf, "Unknown control commmand \"%s\"\n", buf);
+		fprintf(ctlf, "Unknown control command \"%s\"\n", buf);
 		ret = 0;
 	}