Skip to content

Commit

Permalink
Add method to check if we are working only in IPV4 mode (needed for p…
Browse files Browse the repository at this point in the history
…roxy).
  • Loading branch information
abh3 committed Nov 9, 2013
1 parent cea8423 commit cb12fd8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/XrdNet/XrdNetAddr.hh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ class XrdNetAddr : public XrdNetAddrInfo
{
public:

//------------------------------------------------------------------------------
//! Determine if IPV4 mode has been set.
//!
//! @return True IPV4 mode has been set.
//! False IPV4 mode has not been set.
//------------------------------------------------------------------------------

static bool IPV4Set() {return useIPV4;}

//------------------------------------------------------------------------------
//! Optionally set and also returns the port number for our address.
//!
Expand Down

0 comments on commit cb12fd8

Please sign in to comment.