blob: 61f52d22e7a4f3dd926c0c0a35f5cc31cbc6abc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
X-Git-Url: http://misdn.eu/?p=projects%2FmISDNuser.git;a=blobdiff_plain;f=lib%2Flayer3%2Fq931.c;h=75716fe121a48a3c62fb785af85d856a688889bf;hp=705caf3e167bb5c50828c464151fcfe49af89e64;hb=ec4ac2763f737dc9100f9f4f9e91f4d7064a77b2;hpb=1dc4c24d27ed9c46e2fdbf7fb4b178e549a58e8d
diff --git a/lib/layer3/q931.c b/lib/layer3/q931.c
index 705caf3..75716fe 100644
--- a/lib/layer3/q931.c
+++ b/lib/layer3/q931.c
@@ -357,7 +357,7 @@ mi_encode_hlc(struct l3_msg *l3m, int hlc, int ehlc)
ie[1] = hlc & 0x7f;
if (ehlc < 0)
- ie[1] | 0x80;
+ ie[1] |= 0x80;
else {
l = 3;
ie[2] = 0x80 | (ehlc & 0x7f);
|