diff options
author | Yuri Wiitala <miu@chromium.org> | 2020-11-24 05:41:22 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-24 13:53:38 +0000 |
commit | 185795f02ceb4300e1caef49b5b7052c8d453dc9 (patch) | |
tree | f14af1b565346a6040e2cfef43e0e903f0da3a41 /cast/sender | |
parent | 784170929fae06482dd9603d62697d57d5bde382 (diff) | |
download | openscreen-185795f02ceb4300e1caef49b5b7052c8d453dc9.tar.gz |
Fix supported_address_families DCHECK in ServiceInstance ctor.
The original DCHECK was mandating IPv4/6 be used if the network
interface supports it, even if a client may not want to use IPv4/6.
This patch changes the logic to the intended sanity-check: IPv4/6 can
only be considered supported if the network interface has an IPv4/6
address. The client can still choose whether to use it or not.
Bug: b/162542369
Change-Id: I76e3983eb36c63769d4574e75e07df51dd4540d4
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2552426
Commit-Queue: Yuri Wiitala <miu@chromium.org>
Reviewed-by: Ryan Keane <rwkeane@google.com>
Diffstat (limited to 'cast/sender')
0 files changed, 0 insertions, 0 deletions