Compare commits

..

No commits in common. "0aeb407cb4561704e361936ac6d5afc92cd50fd8" and "fbc6d1716fc74d5475146cb6a98a849ade1e5ade" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -499,7 +499,7 @@ int config_parse_dhcp_send_option(
r = extract_first_word(&p, &word, ":", 0); r = extract_first_word(&p, &word, ":", 0);
if (r == -ENOMEM) if (r == -ENOMEM)
return log_oom(); return log_oom();
if (r <= 0 || isempty(p)) { if (r <= 0) {
log_syntax(unit, LOG_ERR, filename, line, r, log_syntax(unit, LOG_ERR, filename, line, r,
"Invalid DHCP option, ignoring assignment: %s", rvalue); "Invalid DHCP option, ignoring assignment: %s", rvalue);
return 0; return 0;

View File

@ -1,9 +0,0 @@
[DHCPv4]
SendOption=1:string:
SendOption=1:uint8:
SendOption=1:uint16:
SendOption=1:uint32:
SendOption=1:ipv4address:
SendOption=1:ipv4address:127.0.0.1
SendOption=1:ipv6address:
SendOption=1:ipv6address:52:54:00:b9:b5:61