• Ben Greear's avatar
    iproute2: Fix batch-mode for mrules. · 0d1c9b57
    Ben Greear authored
    The do_multirule logic was broken in batch mode because
    it expected the preferred_family to be AF_INET or AF_INET6,
    but it then assigned it to RTNL_FAMILY_IPMR or RTNL_FAMILY_IP6MR.
    So, the next iteration of the batch processing, it failed
    the check for AF_INET or AF_INET6.
    Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
    0d1c9b57
iprule.c 11.5 KB