summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authordenis <denis@cvs.openbsd.org>2018-09-30 10:56:48 +0000
committerdenis <denis@cvs.openbsd.org>2018-09-30 10:56:48 +0000
commit508cae080035c79a52f2de473d0a90dba322e35a (patch)
tree804d4ac159c787a6410c7d942650dabdf6bc846e /usr.sbin
parentf42994ee461ee93027bed412941a33c54f230d88 (diff)
vstate might be used uninitialized
OK claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 8c4e2bdf017..6bdbe96fc15 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.430 2018/09/29 08:11:11 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.431 2018/09/30 10:56:47 denis Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -3153,7 +3153,7 @@ rde_softreconfig_in(struct rib_entry *re, void *bula)
if (action == ACTION_ALLOW) {
/* update Local-RIB */
path_update(&rib->rib, peer, &state, &prefix,
- pt->prefixlen, vstate);
+ pt->prefixlen, p->validation_state);
} else if (action == ACTION_DENY) {
/* remove from Local-RIB */
prefix_remove(&rib->rib, peer, &prefix,