Network Services | ntp: reset cmdline parsing state between invocations (!36)

Chris Johns (@chris) gitlab at rtems.org
Mon May 4 23:57:54 UTC 2026



Merge request https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/36 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion on bsd/freebsd/contrib/ntp/ntpd/ntpd.c: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/36#note_149461

 > +static int	parsed;
 > +static int	optct;
 > +

Any changes in NTP code needs to be guarded with `#if __rtems__`. The [Third-Party Source Code](https://docs.rtems.org/docs/main/eng/coding-conventions.html#third-party-source-code) section of the engineering manual details how to do this.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/36
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260504/02aa38cc/attachment.htm>


More information about the bugs mailing list