Thomas Haller
7908dd6730
dhcp-identifier: handle too long duid_len in dhcp_validate_duid_len()
...
Callers of dhcp_validate_duid_len() know that they must not pass
a zero duid_len. Thus asserting against that is appropriate.
On the other hand, they are not aware of the maximum allowed length
of a duid, as that is the reason why they call dhcp_validate_duid_len()
in the first place. So dhcp_validate_duid_len() should just signal a
regular error.
Thereby, change assert_return() to an assert() as this is an internal
function.
2016-04-01 15:03:27 +02:00
..
2015-10-25 13:19:18 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2015-11-17 14:17:41 +01:00
2016-02-13 11:15:41 +01:00
2016-03-30 16:33:55 -07:00
2016-03-30 16:33:55 -07:00
2016-04-01 15:03:27 +02:00
2016-02-20 22:42:29 +01:00
2016-02-10 13:41:57 +01:00
2015-10-25 13:19:18 +01:00
2016-02-22 20:32:04 -08:00
2016-02-22 20:32:04 -08:00
2016-02-10 13:41:57 +01:00
2016-02-20 22:42:29 +01:00
2015-11-25 18:30:31 +01:00
2016-02-10 13:41:57 +01:00
2016-02-21 20:40:58 +01:00
2016-03-24 16:41:48 +01:00
2016-02-21 20:40:56 +01:00
2016-02-20 22:42:29 +01:00
2016-02-20 22:42:29 +01:00
2016-03-30 16:33:55 -07:00
2016-03-30 16:33:55 -07:00
2016-03-30 16:33:55 -07:00
2016-02-10 13:41:57 +01:00
2016-03-30 16:33:55 -07:00
2016-02-27 13:40:50 +01:00
2016-02-25 15:46:55 +02:00
2016-02-23 14:20:34 -08:00
2016-02-23 14:20:34 -08:00
2016-03-14 17:02:19 +01:00
2016-02-20 22:42:29 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-13 11:15:41 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-02-10 13:41:57 +01:00
2016-03-24 16:41:48 +01:00
2016-02-10 13:41:57 +01:00