summaryrefslogtreecommitdiff
path: root/proto/babel
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 10:50:38 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 10:50:38 +0100
commitff47cd80dd04bc11692248a40cbf52ee8d351064 (patch)
treeef64550e00c6610e55a2d0f9f1ebf71e93572f78 /proto/babel
parent9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (diff)
parentd5a32563df1653952937117133f09143929ff0c2 (diff)
Merge commit 'd5a32563' into haugesund
Diffstat (limited to 'proto/babel')
-rw-r--r--proto/babel/babel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/proto/babel/babel.c b/proto/babel/babel.c
index 174fc9e2..0444e7a4 100644
--- a/proto/babel/babel.c
+++ b/proto/babel/babel.c
@@ -2231,10 +2231,9 @@ babel_kick_timer(struct babel_proto *p)
static int
-babel_preexport(struct proto *P, struct rte **new, struct linpool *pool UNUSED)
+babel_preexport(struct proto *P, struct rte *new)
{
- struct rta *a = (*new)->attrs;
-
+ struct rta *a = new->attrs;
/* Reject our own unreachable routes */
if ((a->dest == RTD_UNREACHABLE) && (a->src->proto == P))
return -1;