diff options
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_parse.y')
-rw-r--r-- | net/openbgpd/files/patch-bgpd_parse.y | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net/openbgpd/files/patch-bgpd_parse.y b/net/openbgpd/files/patch-bgpd_parse.y index b44615764edc..84b2d3ba0c09 100644 --- a/net/openbgpd/files/patch-bgpd_parse.y +++ b/net/openbgpd/files/patch-bgpd_parse.y @@ -1,10 +1,16 @@ ---- 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 @@ +Index: bgpd/parse.y +=================================================================== +RCS file: /home/cvs/private/hrs/openbgpd/bgpd/parse.y,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -p -r1.1.1.1 -r1.2 +--- bgpd/parse.y 30 Jun 2009 05:46:15 -0000 1.1.1.1 ++++ bgpd/parse.y 30 Jun 2009 06:40:07 -0000 1.2 +@@ -523,11 +523,16 @@ conf_main : AS as4number { free($4); } | RTABLE NUMBER { -+#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) /* FreeBSD does not support RTABLE */ + yyerror("rtable id not supported in FreeBSD, yet"); + YYERROR; +#else @@ -13,7 +19,7 @@ YYERROR; } conf->rtableid = $2; -+#endif /* __FreeBSD__ */ ++#endif /* defined(__FreeBSD__) */ } ; |