summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-27 14:12:29 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-27 14:12:29 +0000
commit7ad973e337e04f36fa2df19675d574bb7560bb85 (patch)
tree5edbda1338b3f849756fb82606b3c67fe96d562c /usr.sbin
parent942f9a50d9183eaf295c97e8c25f8d6caba08fdf (diff)
missing return()
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/pfkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/pfkey.c b/usr.sbin/bgpd/pfkey.c
index 86bee599b2d..cf4e79992ff 100644
--- a/usr.sbin/bgpd/pfkey.c
+++ b/usr.sbin/bgpd/pfkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkey.c,v 1.3 2004/01/27 14:09:36 markus Exp $ */
+/* $OpenBSD: pfkey.c,v 1.4 2004/01/27 14:12:28 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -209,6 +209,8 @@ pfkey_send(int sd, uint8_t mtype, struct sockaddr *src, struct sockaddr *dst,
log_warn("writev: should=%d has=%d", len, n);
return (-1);
}
+
+ return (0);
}
int