Kinsey Moore created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/14
Assignee: Kinsey Moore ## Summary The structures that hold command line and config file parsing information do not get reset on exit. This means that the options used on the first invocation will always be in force even if different options are selected on further invocations. This information is stored in at least the `ntpdOptions` and `optDesc` structures. These structures are not trivially reset to init status as they use const members, are constructed using static constructors, and mix static information with parsed config information. Additionally, there is at least a parsing flag that must be reset (`parsed` in `parse_cmdline_opts()`) that is currently a static variable within a function. ## Steps to reproduce ### Pre-set options -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/issues/14 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs