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

android: only update DNS configs on LinkProperties changes #511

Merged
merged 1 commit into from
Sep 17, 2024

Commits on Sep 17, 2024

  1. android: only update DNS configs on LinkProperties changes

    We were updating DNS configs when capabilities changed, without LinkProperties having been filled in. Because onAvailable always happened first, LinkProperties were created with default value, and onCapabilitiesChanged sent a DNS update using those LinkProperties.
    This change only updates DNS configs on LinkProperties, which is the last update sent on a network change.
    
    Updates tailscale/tailscale#13173
    
    Signed-off-by: kari-ts <kari@tailscale.com>
    kari-ts committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9467c6a View commit details
    Browse the repository at this point in the history