Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
360 B

  1. --- parse.orig 2014-12-28 11:59:42.075221249 -0600
  2. +++ parse.y 2014-12-28 11:54:22.799214329 -0600
  3. @@ -313,10 +313,12 @@
  4. opts.weight = $2;
  5. }
  6. rtable : RTABLE NUMBER {
  7. +#ifdef RT_TABLEID_MAX
  8. if ($2 < 0 || $2 > RT_TABLEID_MAX) {
  9. yyerror("rtable must be between 1 and RT_TABLEID_MAX");
  10. YYERROR;
  11. }
  12. +#endif
  13. opts.rtable = $2;
  14. }
  15. ;