diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-07-04 10:21:00 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-07-04 10:21:00 +0000 |
commit | d5d666384a15a376213e96e260d2ad761270adb5 (patch) | |
tree | f69480a8c5ba1ee7dc028de4c8c1e33edba2f3c7 /regress/usr.sbin | |
parent | a377d32895f6b47514ec0b2b546103444a46f2c7 (diff) |
Add a dummy attr_writebuf() so that this code links again.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r-- | regress/usr.sbin/bgpd/unittests/rde_community_test.c | 9 |
1 files changed, 8 insertions, 1 deletions
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 <claudio@openbsd.org> @@ -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); +} |