Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Issue 105653003: GetNetworkList() copies sa_family of ifa_addr to ifa_netmask if unset (Closed)

Created:
7 years ago by Johnny
Modified:
6 years, 11 months ago
Reviewers:
pauljensen
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

GetNetworkList() copies sa_family of ifa_addr to ifa_netmask if unset BUG=325910 TEST=Confirmed NetUtilTest.GetNetworkList now passes in presence of OpenVPN tunnel. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243675

Patch Set 1 #

Patch Set 2 : rebase onto HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M net/base/net_util_posix.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Johnny
Hi Paul, This is a minor patch for the OpenVPN tunnel w/o an sa_family set ...
6 years, 11 months ago (2014-01-08 15:48:53 UTC) #1
Johnny
Unfortunately it doesn't seem there's a way to add automated testing, without mocking getifaddrs() use ...
6 years, 11 months ago (2014-01-08 15:51:55 UTC) #2
pauljensen
lgtm. I did some googleing. It seems like many other pieces of code do this ...
6 years, 11 months ago (2014-01-08 18:11:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/105653003/10001
6 years, 11 months ago (2014-01-08 19:53:18 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 22:29:57 UTC) #5
Message was sent while issue was closed.
Change committed as 243675

Powered by Google App Engine
This is Rietveld 408576698