Browse Source

TT#14008 suppress ICE attribute warning

Change-Id: I21f0cc7dbf087888b12cb0c1272e21015f364f30
pull/1430/head
Richard Fuchs 4 years ago
parent
commit
37323545bd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/stun.c

+ 2
- 0
daemon/stun.c View File

@ -29,6 +29,7 @@
#define STUN_FINGERPRINT 0x8028 #define STUN_FINGERPRINT 0x8028
#define STUN_ICE_CONTROLLED 0x8029 #define STUN_ICE_CONTROLLED 0x8029
#define STUN_ICE_CONTROLLING 0x802a #define STUN_ICE_CONTROLLING 0x802a
#define STUN_GOOG_NETWORK_INFO 0xc057
#define STUN_CLASS_REQUEST 0x00 #define STUN_CLASS_REQUEST 0x00
#define STUN_CLASS_INDICATION 0x01 #define STUN_CLASS_INDICATION 0x01
@ -189,6 +190,7 @@ static int stun_attributes(struct stun_attrs *out, str *s, uint16_t *unknowns, s
break; break;
case STUN_SOFTWARE: case STUN_SOFTWARE:
case STUN_GOOG_NETWORK_INFO:
break; /* ignore but suppress warning message */ break; /* ignore but suppress warning message */
case STUN_XOR_MAPPED_ADDRESS: case STUN_XOR_MAPPED_ADDRESS:


Loading…
Cancel
Save