On Mon, Dec 18, 2017 at 03:29:31PM +0100, Luis Ressel wrote:
> Hello *,
> 
> I just discovered that bird's ./configure --with-protocols is buggy. If
> radvd is excluded from the protocol list, make fails with the error
> 
> bison  -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y
> obj/conf/cf-parse.y:3955.4-12: error: symbol PREFERRED is used, but is
> not defined as a token and has no rules
>     PREFERRED ipa { kif_set_preferred($2); }
>     ^^^^^^^^^
> make: *** [conf/Makefile:23: obj/conf/cf-parse.tab.c] Error 1

Hi

Attached patch should fix it.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: [email protected])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
diff --git a/sysdep/unix/krt.Y b/sysdep/unix/krt.Y
index 6d90db64..1cb28389 100644
--- a/sysdep/unix/krt.Y
+++ b/sysdep/unix/krt.Y
@@ -40,6 +40,7 @@ kif_set_preferred(ip_addr ip)
 CF_DECLS
 
 CF_KEYWORDS(KERNEL, PERSIST, SCAN, TIME, LEARN, DEVICE, ROUTES, GRACEFUL, RESTART, KRT_SOURCE, KRT_METRIC, MERGE, PATHS)
+CF_KEYWORDS(INTERFACE, PREFERRED)
 
 %type <i> kern_mp_limit
 

Attachment: signature.asc
Description: PGP signature

Reply via email to