summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_parse.y
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-06-23 16:44:19 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-06-23 16:44:19 +0000
commitb8ade4ca2a61b49600b827773bbf36efafae56ec (patch)
treee650309f10d0421b11fe863cdefad5d701686980 /net/openbgpd/files/patch-bgpd_parse.y
parentFix plist. (diff)
Update to 4.4.1. Take maintainership.
Notes
Notes: svn path=/head/; revision=236531
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_parse.y')
-rw-r--r--net/openbgpd/files/patch-bgpd_parse.y12
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__ */
}
;