summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-08-23 08:26:03 +0000
committerclaudio <claudio@openbsd.org>2006-08-23 08:26:03 +0000
commit87be35fee35511445e4bcb5ba9def2af47879f54 (patch)
tree183274154b77a81e3fb0db544ce0356328057f49
parentExtend show rib command. Following new options are added: (diff)
downloadwireguard-openbsd-87be35fee35511445e4bcb5ba9def2af47879f54.tar.xz
wireguard-openbsd-87be35fee35511445e4bcb5ba9def2af47879f54.zip
Add a comment about the empty imsg_event_add() function to make it clear
why it is needed.
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 0bac85fb98e..47777fe638d 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.34 2006/06/28 10:53:39 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.35 2006/08/23 08:26:03 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -80,9 +80,11 @@ usage(void)
exit(1);
}
+/* dummy function so that ospfctl does not need libevent */
void
imsg_event_add(struct imsgbuf *i)
{
+ /* nothing */
}
int