> DeĀ : Stuart Henderson [mailto:st...@openbsd.org] > > On 2014/06/27 09:58, Leclerc, Sebastien wrote: > > Hi, > > > > Would this piece of code be useful to someone else than me? > > Not sure about base, but it may make sense to add to ports.
I'm not familiar with the creation of a port, but I'm willing to learn it when I'll have some spare time. > > > +/* Stolen from ftp-proxy */ > > Old version of ftp-proxy I guess. It hasn't used DIOCNATLOOK for several > releases, it has switched to the much easier-to-use divert-to / getsockname(). You're right, it is from spamd(8) source code, and the comment was copied verbatim.