other: do not use 'else' after 'return'

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-07 13:12:37 +00:00
parent eb7547c742
commit e5cd46e4e9
No known key found for this signature in database
GPG key ID: A9553245FDE9B739

View file

@ -341,7 +341,8 @@ int
if (memcmp("lease ", str, 6)) {
set_ipv_functions(IPv4);
return PREFIX_LEASE;
} else if (memcmp(" iaaddr ", str, 9)) {
}
if (memcmp(" iaaddr ", str, 9)) {
set_ipv_functions(IPv6);
return PREFIX_LEASE;
}