diff --git a/channels/misdn/ie.c b/channels/misdn/ie.c index 75dd4c7f2c4183b21c8e715a8d01edeb513e7deb..9c783cd100b47208d1f6da67f4e1c5dbd2cc59af 100644 --- a/channels/misdn/ie.c +++ b/channels/misdn/ie.c @@ -1356,7 +1356,7 @@ static void enc_ie_useruser(unsigned char **ntmode, msg_t *msg, int protocol, ch qi->QI_ELEMENT(useruser) = p - (unsigned char *)qi - sizeof(Q931_info_t); p[0] = IE_USER_USER; p[1] = l; - p[2] = 0x80 + protocol; + p[2] = protocol; memcpy(p+3, user, user_len); } #endif