Skip to content

Commit

Permalink
Merge pull request #194 from xguerin/master
Browse files Browse the repository at this point in the history
Add missing static keyword to a couple of IPv6 helper functions
  • Loading branch information
markheger authored Aug 20, 2019
2 parents 4c9bec6 + f473594 commit 760cfa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions com.ibm.streamsx.network/impl/include/IPv6AddressFunctions.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ namespace com { namespace ibm { namespace streamsx { namespace network { namespa
return isInRange_(decStartIP, decEndIP, decIP);
}

SPL::boolean isInNetwork(SPL::rstring const & networkCIDR, SPL::rstring const & ip)
static SPL::boolean isInNetwork(SPL::rstring const & networkCIDR, SPL::rstring const & ip)
{
SPL::list<SPL::rstring> tokens = SPL::Functions::String::tokenize(networkCIDR, "/", false);
SPL::rstring networkIP = tokens[0];
Expand Down Expand Up @@ -312,7 +312,7 @@ namespace com { namespace ibm { namespace streamsx { namespace network { namespa
return isInRange_(netStart, netEnd, decIP);
}

SPL::boolean isInNetworkList(SPL::list<SPL::rstring> const & networkList, SPL::rstring const & ip)
static SPL::boolean isInNetworkList(SPL::list<SPL::rstring> const & networkList, SPL::rstring const & ip)
{
SPL::list<SPL::rstring>::const_iterator it;
for(it = networkList.begin(); it != networkList.end(); ++it)
Expand Down

0 comments on commit 760cfa1

Please sign in to comment.