From ca2df0482c9d82dd3db1853d27e072dc4b1d5621 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 11 Aug 2000 09:56:42 +0000 Subject: Various fixes due to Jan Echternachs comments on the mailinglist. --- libipulog/libipulog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libipulog/libipulog.c') diff --git a/libipulog/libipulog.c b/libipulog/libipulog.c index 5d111f6..e5e6d2f 100644 --- a/libipulog/libipulog.c +++ b/libipulog/libipulog.c @@ -1,5 +1,5 @@ /* - * libipulog.c, $Revision$ + * libipulog.c, $Revision: 1.2 $ * * netfilter ULOG userspace library. * @@ -9,7 +9,7 @@ * This library is still under development, so be aware of sudden interface * changes * - * $Id$ + * $Id: libipulog.c,v 1.2 2000/07/31 14:52:46 laforge Exp $ */ #include @@ -146,7 +146,7 @@ struct ipulog_handle *ipulog_create_handle(unsigned int gmask) } memset(&h->local, 0, sizeof(struct sockaddr_nl)); h->local.nl_family = AF_NETLINK; - h->local.nl_pid = getpid(); + h->local.nl_pid = 0; h->local.nl_groups = gmask; status = bind(h->fd, (struct sockaddr *)&h->local, sizeof(h->local)); if (status == -1) -- cgit v1.2.3