summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_update.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-05-09 22:27:34 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-05-09 22:27:34 +0000
commite73c09fe7c679e61038a76d9d621f9f7862ca605 (patch)
treeffce0a2141a2db47de1f6694084c064dedfb1e6c /usr.sbin/bgpd/rde_update.c
parent694dfd854041af07f6e9c055393403a3dce0c14d (diff)
Neither rde_apply_set() nor rde_filter() are called with a NULL state so
remove some unneeded == NULL checks. OK benno@
Diffstat (limited to 'usr.sbin/bgpd/rde_update.c')
-rw-r--r--usr.sbin/bgpd/rde_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c
index 5b571abba28..c2d1e6da300 100644
--- a/usr.sbin/bgpd/rde_update.c
+++ b/usr.sbin/bgpd/rde_update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_update.c,v 1.108 2019/01/21 02:07:56 claudio Exp $ */
+/* $OpenBSD: rde_update.c,v 1.109 2019/05/09 22:27:33 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -202,7 +202,7 @@ up_generate_default(struct filter_head *rules, struct rde_peer *peer,
* XXX apply default overrides. Not yet possible, mainly a parse.y
* problem.
*/
- /* rde_apply_set(asp, set, af, NULL ???, DIR_IN); */
+ /* rde_apply_set(asp, set, af, &state, DIR_IN); */
/*
* XXX this is ugly because we need to have a prefix for rde_filter()