summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-08-04 12:41:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-08-04 12:41:49 +0000
commitaaba58424f05f62923f0ac8b0e38a931f61d9414 (patch)
treede2abdcf69e4aaf85eaba1c1ab58d01defe38ec8 /usr.sbin/bgpd/rde.c
parenta609a60005e3f3b53ee517011e14db55ebb0ccad (diff)
session_main() and rde_main() return... right, a pid. and a pid is a pid_t
and not an int.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 54499d1ac62..dca08faf2cf 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.130 2004/07/30 14:44:30 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.131 2004/08/04 12:41:48 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -102,7 +102,7 @@ u_int32_t peerhashsize = 64;
u_int32_t pathhashsize = 1024;
u_int32_t nexthophashsize = 64;
-int
+pid_t
rde_main(struct bgpd_config *config, struct network_head *net_l,
struct filter_head *rules, struct mrt_head *mrt_l,
int pipe_m2r[2], int pipe_s2r[2], int pipe_m2s[2])