aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-stun.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-07-15 14:33:56 +0200
committerAnders Broman <a.broman58@gmail.com>2015-07-17 16:34:50 +0000
commit5bd6c4aff21dbc8a7ebf31c5d1510fcedf66d875 (patch)
treeb63950bf7dea62f33a7b43448dc334583d6c8888 /epan/dissectors/packet-stun.c
parentcbdd1023439096fab8507d715da8227017d3fc00 (diff)
STUN: Add missing error codes
Bug:11350 Change-Id: I8876f7b088229b7b60b2e5d81b70e2e762cad044 Reviewed-on: https://code.wireshark.org/review/9644 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-stun.c')
-rw-r--r--epan/dissectors/packet-stun.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-stun.c b/epan/dissectors/packet-stun.c
index 4c4e9b6cf0..6c47b9e741 100644
--- a/epan/dissectors/packet-stun.c
+++ b/epan/dissectors/packet-stun.c
@@ -375,21 +375,28 @@ static const value_string attributes_family[] = {
{0x0002, "IPv6"},
{0x00, NULL}
};
+/* http://www.iana.org/assignments/stun-parameters/stun-parameters.xhtml#stun-parameters-6 (2015-06-12)*/
static const value_string error_code[] = {
{274, "Disable Candidate"}, /* MS-ICE2BWN */
- {275, "Disable Candidate Pair"}, /* MS-ICE2BWN */
+ {275, "Disable Candidate Pair"}, /* MS-ICE2BWN */
{300, "Try Alternate"}, /* rfc3489bis-15 */
{400, "Bad Request"}, /* rfc3489bis-15 */
{401, "Unauthorized"}, /* rfc3489bis-15 */
+ {403, "Forbidden"}, /* rfc5766 */
{420, "Unknown Attribute"}, /* rfc3489bis-15 */
{437, "Allocation Mismatch"}, /* turn-07 */
{438, "Stale Nonce"}, /* rfc3489bis-15 */
{439, "Wrong Credentials"}, /* turn-07 - collision 38=>39 */
{440, "Address Family not Supported"}, /* turn-ipv6-04 */
+ {441, "Wrong Credentials"}, /* rfc5766 */
{442, "Unsupported Transport Protocol"}, /* turn-07 */
+ {443, "Peer Address Family Mismatch"}, /* rfc6156 */
+ {446, "Connection Already Exists"}, /* rfc6062 */
+ {447, "Connection Timeout or Failure"}, /* rfc6062 */
{481, "Connection does not exist"}, /* nat-behavior-discovery-03 */
{486, "Allocation Quota Reached"}, /* turn-07 */
+ {487, "Role Conflict"}, /* rfc5245 */
{500, "Server Error"}, /* rfc3489bis-15 */
{503, "Service Unavailable"}, /* nat-behavior-discovery-03 */
{507, "Insufficient Bandwidth Capacity"}, /* turn-07 */