On Sun, Nov 18, 2018 at 10:30:32AM +0100, Florian Obser wrote:
> diff --git parse.y parse.y
> index 7b7ce5388c0..1aa2aabc28c 100644
> --- parse.y
> +++ parse.y
> @@ -879,7 +879,7 @@ network : NETWORK prefix filter_set {
> struct network *n;
> if ((ps = find_prefixset($3, &conf->prefixsets))
> == NULL) {
> - yyerror("prefix-set %s not defined", ps->name);
> + yyerror("prefix-set %s not defined", $3);
> free($3);
> filterset_free($4);
> free($4);
>
> OK?
Just committed the same since it was obvious.
> On Sun, Nov 18, 2018 at 08:58:33AM +0000, Tom Smyth wrote:
> > Hello,
> > I was configuring an openbsd 6.4 bgpd router using the
> > /etc/examples/bgpd.conf as a template
> >
> > If you comment out the prefix-set mynetworks
> > # list of networks that may be originated by our ASN
> > #prefix-set mynetworks { \
> > # 192.0.2.0/24 \
> > # 2001:db8:abcd::/48 \
> > #}
> >
> > and leave filters that depend on the prefix-set
> > in the bgpd.conf file
> >
> > bgpd segfaults on startup as shown below
> >
> > corertfw2# bgpd -dv
> > startup
> > rereading config
> > session engine ready
> > ASN = "62129"
> > peer closed imsg connection
> > Segmentation fault (core dumped)
> > SE: Lost connection to parent
> > session engine exiting
> > corertfw2# route decision engine ready
> > peer closed imsg connection
> > fatal in RDE: Lost connection to parent
> >
> >
> > I have attached the coredump
> >
> > Removing filters that reference undeclared prefix-set mynetworks
> > resolved the issue ...
> >
> > --
> > Kindest regards,
> > Tom Smyth
>
>
>
> --
> I'm not entirely sure you are real.
>
--
:wq Claudio