diff options
author | Bruno Cabral <bcabral@uw.edu> | 2015-06-15 05:46:13 +0000 |
---|---|---|
committer | Bruno Cabral <bcabral@uw.edu> | 2015-06-15 05:46:13 +0000 |
commit | 1ed484dfdf1676d92e95b9ed262abc28ca7b3aee (patch) | |
tree | cc76406ab7f0a3484cd9aa66fca168d864aa246d /src/nat/nat.c | |
parent | fa7754fd510260ffb8850feb5d6559e55f75d4e9 (diff) | |
download | gnunet-1ed484dfdf1676d92e95b9ed262abc28ca7b3aee.tar.gz gnunet-1ed484dfdf1676d92e95b9ed262abc28ca7b3aee.zip |
Initial import of STUN support
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r-- | src/nat/nat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 85b55138d..907728fb4 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -69,6 +69,11 @@ enum LocalAddressSource | |||
69 | * given in the configuration (i.e. hole-punched DynDNS setup). | 69 | * given in the configuration (i.e. hole-punched DynDNS setup). |
70 | */ | 70 | */ |
71 | LAL_EXTERNAL_IP, | 71 | LAL_EXTERNAL_IP, |
72 | |||
73 | /** | ||
74 | * Address was obtained by an external STUN server | ||
75 | */ | ||
76 | LAL_EXTERNAL_STUN_IP, | ||
72 | 77 | ||
73 | /** | 78 | /** |
74 | * Address was obtained by DNS resolution of the external hostname | 79 | * Address was obtained by DNS resolution of the external hostname |