From d5d666384a15a376213e96e260d2ad761270adb5 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Thu, 4 Jul 2019 10:21:00 +0000 Subject: Add a dummy attr_writebuf() so that this code links again. --- regress/usr.sbin/bgpd/unittests/rde_community_test.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'regress/usr.sbin/bgpd') diff --git a/regress/usr.sbin/bgpd/unittests/rde_community_test.c b/regress/usr.sbin/bgpd/unittests/rde_community_test.c index 94092822a58..f81974342ca 100644 --- a/regress/usr.sbin/bgpd/unittests/rde_community_test.c +++ b/regress/usr.sbin/bgpd/unittests/rde_community_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_community_test.c,v 1.1 2019/06/17 13:13:03 claudio Exp $ */ +/* $OpenBSD: rde_community_test.c,v 1.2 2019/07/04 10:20:59 claudio Exp $ */ /* * Copyright (c) 2019 Claudio Jeker @@ -230,3 +230,10 @@ attr_write(void *p, u_int16_t p_len, u_int8_t flags, u_int8_t type, return (tot_len); } + +int +attr_writebuf(struct ibuf *buf, u_int8_t flags, u_int8_t type, void *data, + u_int16_t data_len) +{ + return (-1); +} -- cgit v1.2.3