Hey,

thanks a lot, I even made a little improvement to the patch. =)

Just let it read DAEMON_ADDR from params.h as it is supposed to do that
anyway or why would it be listed in params.h when it's not used?

Maybe some dev could implement this change in the default build?

Michael

Index: standalone.c
===================================================================
RCS file: /cvs/src/usr.sbin/popa3d/standalone.c,v
retrieving revision 1.10
diff -u -r1.10 standalone.c
--- standalone.c        13 Mar 2005 19:29:44 -0000      1.10
+++ standalone.c        8 Jun 2006 08:15:33 -0000
@@ -127,7 +127,7 @@
        hints.ai_socktype = SOCK_STREAM;
        hints.ai_family = af;
        hints.ai_flags = AI_PASSIVE;
-       error = getaddrinfo(NULL, sbuf, &hints, &res0);
+       error = getaddrinfo(DAEMON_ADDR, sbuf, &hints, &res0);
        if (error)
                return log_error("getaddrinfo");

Reply via email to