]> Cypherpunks repositories - gostls13.git/commit
net: make use of IPv4 for parsing routing information on windows
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 18 Dec 2015 03:39:57 +0000 (12:39 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Sat, 19 Dec 2015 10:00:04 +0000 (10:00 +0000)
commit97f854cd7bb6c06046d386469a2b56c9b0e16406
tree895deb7452790e82913b5cf31eeb289679d78313
parent2cf5f04ffd4b00821fd0aed40ae8836f6ce8f161
net: make use of IPv4 for parsing routing information on windows

In general the package net deals IPv4 addresses as IPv6 IPv4-mapped
addresses internally for the dual stack era, when we need to support
various techniques on IPv4/IPv6 translation.

This change makes windows implementation follow the same pattern which
BSD variants and Linux do.

Updates #13544.

Also fixes an unintentionally formatted line by accident by gofmt.

Change-Id: I4953796e751fd8050c73094468a0d7b0d33f5516
Reviewed-on: https://go-review.googlesource.com/17992
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/net/interface_test.go
src/net/interface_windows.go