Subject: Added support for the pflog datalink type and fixed some typos Origin: softflowd-0.9.9-9-gb7e50ae Upstream-Author: SysError956 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; }