aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.c
diff options
context:
space:
mode:
authorBruno Cabral <bcabral@uw.edu>2015-06-15 05:46:13 +0000
committerBruno Cabral <bcabral@uw.edu>2015-06-15 05:46:13 +0000
commit1ed484dfdf1676d92e95b9ed262abc28ca7b3aee (patch)
treecc76406ab7f0a3484cd9aa66fca168d864aa246d /src/nat/nat.c
parentfa7754fd510260ffb8850feb5d6559e55f75d4e9 (diff)
downloadgnunet-1ed484dfdf1676d92e95b9ed262abc28ca7b3aee.tar.gz
gnunet-1ed484dfdf1676d92e95b9ed262abc28ca7b3aee.zip
Initial import of STUN support
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r--src/nat/nat.c5
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