Adjust the dummy as_set_match function to new prototype after last bgpd commit
authorclaudio <claudio@openbsd.org>
Fri, 14 Sep 2018 10:22:55 +0000 (10:22 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 14 Sep 2018 10:22:55 +0000 (10:22 +0000)
OK benno@

usr.sbin/bgpctl/bgpctl.c

index c4a2dde..924007e 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: bgpctl.c,v 1.215 2018/09/09 12:53:41 benno Exp $ */
+/*     $OpenBSD: bgpctl.c,v 1.216 2018/09/14 10:22:55 claudio Exp $ */
 
 /*
  * Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -2656,8 +2656,8 @@ msg_type(u_int8_t type)
        return (msgtypenames[type]);
 }
 
-int
+void *
 as_set_match(const struct as_set *a, u_int32_t asnum)
 {
-       return (0);
+       return (NULL);
 }