Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 2092501: Fixes finding default gateway for configured GW interface #1131

Merged
merged 1 commit into from Jun 22, 2022

Commits on Jun 8, 2022

  1. Fixes finding default gateway for configured GW interface

    The code for determining the default gateway was not taking into
    consideration if the gateway interfaces was provided via config and
    would return any default gateway found on the host. This is an issue
    when a system has more than 1 default gateway, as well as if a user
    provided an interface other than the real default gateway interface.
    
    If the gateway interface is provided via config, the code now scopes
    default routes found to only that interface.
    
    Signed-off-by: Tim Rozet <trozet@redhat.com>
    (cherry picked from commit 87db93d)
    trozet committed Jun 8, 2022
    Copy the full SHA
    5cd68fd View commit details
    Browse the repository at this point in the history