address: support IPv4/IPv6 dual bind. (#332)

Signed-off-by: Harvey Tuch <htuch@google.com>
pull/334/head
htuch 7 years ago committed by Greg Greenway
parent 4fa7c1607b
commit 893b9706a1
  1. 6
      api/address.proto

@ -44,6 +44,12 @@ message SocketAddress {
// should be set for resolution other than DNS. If the address is a concrete
// IP address, no resolution will occur.
string resolver_name = 5;
// When binding to an IPv6 address above, this enables `IPv4 compatibity
// <https://tools.ietf.org/html/rfc3493#page-11>`_. Binding to ``::`` will
// allow both IPv4 and IPv6 connections, with peer IPv4 addresses mapped into
// IPv6 space as ``::FFFF:<IPv4-address>``.
bool ipv4_compat = 6;
}
message BindConfig {

Loading…
Cancel
Save