diff options
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_parse.y')
-rw-r--r-- | net/openbgpd/files/patch-bgpd_parse.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/openbgpd/files/patch-bgpd_parse.y b/net/openbgpd/files/patch-bgpd_parse.y index 6aaa95076670..b44615764edc 100644 --- a/net/openbgpd/files/patch-bgpd_parse.y +++ b/net/openbgpd/files/patch-bgpd_parse.y @@ -1,19 +1,19 @@ ---- bgpd/parse.y 2007-05-31 20:38:58.000000000 +0200 -+++ bgpd/parse.y 2008-03-18 13:27:29.000000000 +0100 +--- bgpd/parse.y.orig 2009-01-16 23:03:20.000000000 +0900 ++++ bgpd/parse.y 2009-06-22 14:49:56.000000000 +0900 @@ -523,11 +523,16 @@ free($4); } - | RTABLE number { + | RTABLE NUMBER { +#ifdef __FreeBSD__ -+ yyerror("rtable id not supported in FreeBSD, yet"); -+ YYERROR; ++ yyerror("rtable id not supported in FreeBSD, yet"); ++ YYERROR; +#else if ($2 > RT_TABLEID_MAX || $2 < 0) { yyerror("invalid rtable id"); YYERROR; } conf->rtableid = $2; -+#endif ++#endif /* __FreeBSD__ */ } ; |