mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
other: do not use 'else' after 'return'
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
eb7547c742
commit
e5cd46e4e9
1 changed files with 2 additions and 1 deletions
|
|
@ -341,7 +341,8 @@ int
|
||||||
if (memcmp("lease ", str, 6)) {
|
if (memcmp("lease ", str, 6)) {
|
||||||
set_ipv_functions(IPv4);
|
set_ipv_functions(IPv4);
|
||||||
return PREFIX_LEASE;
|
return PREFIX_LEASE;
|
||||||
} else if (memcmp(" iaaddr ", str, 9)) {
|
}
|
||||||
|
if (memcmp(" iaaddr ", str, 9)) {
|
||||||
set_ipv_functions(IPv6);
|
set_ipv_functions(IPv6);
|
||||||
return PREFIX_LEASE;
|
return PREFIX_LEASE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue