diff options
author | Bart Polot <bart@net.in.tum.de> | 2015-10-02 03:37:30 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2015-10-02 03:37:30 +0000 |
commit | e9e64d27481a315fe02d76fb66f0a7c0b22536db (patch) | |
tree | 85b9f91df29f8af6064e65458a35391b3868fc73 /src/cadet/gnunet-cadet.c | |
parent | b6be25b85e6f767fc88c4ed0b86c48f83c54dc14 (diff) | |
download | gnunet-e9e64d27481a315fe02d76fb66f0a7c0b22536db.tar.gz gnunet-e9e64d27481a315fe02d76fb66f0a7c0b22536db.zip |
- use proper connection states for a tunnel
Diffstat (limited to 'src/cadet/gnunet-cadet.c')
-rw-r--r-- | src/cadet/gnunet-cadet.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cadet/gnunet-cadet.c b/src/cadet/gnunet-cadet.c index 9c8615e1c..119d2e83f 100644 --- a/src/cadet/gnunet-cadet.c +++ b/src/cadet/gnunet-cadet.c | |||
@@ -170,13 +170,15 @@ conn_2s (uint16_t status) | |||
170 | switch (status) | 170 | switch (status) |
171 | { | 171 | { |
172 | case 0: | 172 | case 0: |
173 | return "OFF "; | 173 | return "NEW "; |
174 | case 1: | 174 | case 1: |
175 | return "SENT "; | 175 | return "SRCH "; |
176 | case 2: | 176 | case 2: |
177 | return "ACK'D"; | 177 | return "WAIT "; |
178 | case 3: | 178 | case 3: |
179 | return "READY"; | 179 | return "READY"; |
180 | case 4: | ||
181 | return "SHUTD"; | ||
180 | default: | 182 | default: |
181 | return ""; | 183 | return ""; |
182 | } | 184 | } |