login
Header Space

 
 

Re: IPv6 and OpenBGPD - Protocol not available

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jon Morby <jon@...>
Cc: <misc@...>
Date: Tuesday, March 27, 2007 - 2:25 pm

On Tue, Mar 27, 2007 at 07:12:50PM +0100, Jon Morby wrote:

Oops looks like some very old leftovers. Could you give this one here a
whril? I think that's enough to make the filtering of IPv6 prefixes
possible but as you may guess I have no real IPv6 sessions running.

-- 
:wq Claudio

Index: parse.y
===================================================================
RCS file: /cvs/src/usr.sbin/bgpd/parse.y,v
retrieving revision 1.201
diff -u -p -r1.201 parse.y
--- parse.y	6 Mar 2007 16:52:48 -0000	1.201
+++ parse.y	27 Mar 2007 18:20:59 -0000
@@ -1027,13 +1027,6 @@ encspec		: /* nada */	{
 filterrule	: action quick direction filter_peer_h filter_match_h filter_set
 		{
 			struct filter_rule	 r;
-			struct filter_prefix_l	*l;
-
-			for (l = $5.prefix_l; l != NULL; l = l->next)
-				if (l->p.addr.af && l->p.addr.af != AF_INET) {
-					yyerror("king bula sez: AF_INET only");
-					YYERROR;
-				}
 
 			bzero(&r, sizeof(r));
 			r.action = $1;
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IPv6 and OpenBGPD - Protocol not available, Jon Morby, (Tue Mar 27, 12:32 pm)
Re: IPv6 and OpenBGPD - Protocol not available, Claudio Jeker, (Tue Mar 27, 1:24 pm)
Re: IPv6 and OpenBGPD - Protocol not available, Henning Brauer, (Wed Mar 28, 4:40 am)
Re: IPv6 and OpenBGPD - Protocol not available, Claudio Jeker, (Wed Mar 28, 5:56 am)
Re: IPv6 and OpenBGPD - Protocol not available, Jon Morby, (Tue Mar 27, 2:12 pm)
Re: IPv6 and OpenBGPD - Protocol not available, Claudio Jeker, (Tue Mar 27, 2:25 pm)
Re: IPv6 and OpenBGPD - Protocol not available, Henning Brauer, (Wed Mar 28, 4:41 am)
Re: IPv6 and OpenBGPD - Protocol not available, Claudio Jeker, (Wed Mar 28, 5:47 am)
Re: IPv6 and OpenBGPD - Protocol not available, Henning Brauer, (Wed Mar 28, 6:00 am)
Re: IPv6 and OpenBGPD - Protocol not available, Jon Morby, (Tue Mar 27, 2:45 pm)
Re: IPv6 and OpenBGPD - Protocol not available, Henning Brauer, (Tue Mar 27, 1:08 pm)
speck-geostationary