From 34786298a2608dcbc63c27779543c79b2c6237a4 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 4 Dec 2014 04:16:27 -0500 Subject: [PATCH] dont output error message on stun SOFTWARE attribute --- daemon/stun.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/stun.c b/daemon/stun.c index 99fc76950..11e1bcb8a 100644 --- a/daemon/stun.c +++ b/daemon/stun.c @@ -158,6 +158,9 @@ static int stun_attributes(struct stun_attrs *out, str *s, u_int16_t *unknowns) out->priority = ntohl(*((u_int32_t *) attr.s)); break; + case 0x8022: /* software */ + break; /* ignore but suppress warning message */ + default: ilog(LOG_NOTICE, "Unknown STUN attribute: 0x%04x", type); if ((type & 0x8000))