[FS#3789] odhcpd: ra_mtu default value '0' causes error on config_parse_interface

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat May 8 12:14:47 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3789 - odhcpd: ra_mtu default value '0' causes error on config_parse_interface
User who did this - Hans Dedecker (dedeckeh)

----------
I fail to understand the issue as the code in config.c is only hit when a ra_mtu value is specified in the dhcp interface uci section; but this is not by default the case as the default config does not have a ra_mtu value (https://github.com/openwrt/openwrt/blob/master/package/network/services/odhcpd/files/odhcpd.defaults)
One could indeed argue if an invalid ra_mtu is specified if this should be considered as a fatal error; maybe a better approach is just ignore it and write to syslog

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3789#comment9627

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list