Hello Zoltan Chovan, Attila Bukor, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/19230
to look at the new patch set (#2).
Change subject: [util] a function to check if IP address is among specified
......................................................................
[util] a function to check if IP address is among specified
This patch introduces a new utility function IsAddrOneOf()
to check if an IPv4 address represented by Sockaddr object matches
against a set of other addresses. Any element of the reference set
may be a wildcard. This is just a wrapper for std::any() with proper
custom comparison operator for Sockaddr.
A unit test for the new functionality is added as well.
This patch will be used in a follow-up patch.
Change-Id: I3f6bac9a5fa038d27ba5924f0fd7d5a50b72a7aa
---
M src/kudu/util/net/net_util-test.cc
M src/kudu/util/net/net_util.cc
M src/kudu/util/net/net_util.h
3 files changed, 160 insertions(+), 1 deletion(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/30/19230/2
--
To view, visit http://gerrit.cloudera.org:8080/19230
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3f6bac9a5fa038d27ba5924f0fd7d5a50b72a7aa
Gerrit-Change-Number: 19230
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Zoltan Chovan <[email protected]>