From f2e59e98817d4959af549abccf4e798e6184f6d4 Mon Sep 17 00:00:00 2001 From: Benjamin Cama Date: Wed, 20 Jul 2011 00:30:16 +0200 Subject: [PATCH] Fix a typo from last commit. Signed-off-by: Benjamin Cama --- bgp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgp.c b/bgp.c index ea15faf..f12efb1 100644 --- a/bgp.c +++ b/bgp.c @@ -1094,7 +1094,7 @@ static int bgp_handle_input(struct bgp_peer *peer) } if (notification->error_code == BGP_ERR_OPEN - && notification->subcode == BGP_ERR_OPN_UNSUP_CAP) + && notification->error_subcode == BGP_ERR_OPN_UNSUP_CAP) { /* the only capability we advertise is this one, so upon receiving an "unsupported capability" message, we disable IPv6 routes for -- 2.20.1