mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2026-01-26 14:13:24 +00:00
Add str_to_bool() helper function to lib/utils.c that uses parse_one_of() to parse boolean values. Update devlink to use this common implementation. Signed-off-by: Petr Oros <poros@redhat.com> Signed-off-by: David Ahern <dsahern@kernel.org>