Re: pf(4) man page: include missing header in example program

2012-08-31 Thread Ted Unangst
On Thu, May 05, 2011 at 23:56, Stuart Henderson wrote: That change is correct but I'm not sure about keeping this example code at all. We've had divert-to since OpenBSD 4.4 - when this is used instead of rdr-to the destination address is preserved, so it can be fetched with getsockname()

Re: pf(4) man page: include missing header in example program

2011-05-05 Thread Stuart Henderson
On 2011/05/03 19:51, Mike Belopuhov wrote: On Tue, May 3, 2011 at 9:56 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011/05/02 22:28, Lawrence Teo wrote: The DIOCNATLOOK example program at the end of the pf(4) man page uses memset(3), but string.h is not included. The following diff

Re: pf(4) man page: include missing header in example program

2011-05-05 Thread Lawrence Teo
On Thu, May 05, 2011 at 11:56:24PM +0100, Stuart Henderson wrote: On 2011/05/03 19:51, Mike Belopuhov wrote: On Tue, May 3, 2011 at 9:56 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011/05/02 22:28, Lawrence Teo wrote: The DIOCNATLOOK example program at the end of the pf(4) man

Re: pf(4) man page: include missing header in example program

2011-05-03 Thread Stuart Henderson
On 2011/05/02 22:28, Lawrence Teo wrote: The DIOCNATLOOK example program at the end of the pf(4) man page uses memset(3), but string.h is not included. The following diff fixes this. Any thoughts? That change is correct but I'm not sure about keeping this example code at all. We've had

Re: pf(4) man page: include missing header in example program

2011-05-03 Thread Mike Belopuhov
On Tue, May 3, 2011 at 9:56 AM, Stuart Henderson s...@spacehopper.org wrote: On 2011/05/02 22:28, Lawrence Teo wrote: The DIOCNATLOOK example program at the end of the pf(4) man page uses memset(3), but string.h is not included. The following diff fixes this. Any thoughts? That change is

pf(4) man page: include missing header in example program

2011-05-02 Thread Lawrence Teo
The DIOCNATLOOK example program at the end of the pf(4) man page uses memset(3), but string.h is not included. The following diff fixes this. Any thoughts? Thanks, Lawrence Index: pf.4 === RCS file: /cvs/src/share/man/man4/pf.4,v