Skip to contentSkip to conversation

H.323: Add missing T.120 address in OLCA

PATCH Applied Jing Min Zhao 2 participants 2 messages May 17, 2007 – May 24, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 H.323: Add missing T.120 address in OLCA

Add missing process of T.120 address in OpenLogicalChannelAck signal.

---
 net/netfilter/nf_conntrack_h323_main.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
net/netfilter/nf_conntrack_h323_main.c +10 -0
index 6d668af..a1b95ac 100644
@@ -520,6 +520,16 @@ static int process_olca(struct sk_buff **pskb, struct nf_conn *ct,
 		}
 	}
 
+	if ((olca->options & eOpenLogicalChannelAck_separateStack) &&
+		olca->separateStack.networkAddress.choice ==
+		eNetworkAccessParameters_networkAddress_localAreaAddress) {
+		ret = expect_t120(pskb, ct, ctinfo, data, dataoff,
+				  &olca->separateStack.networkAddress.
+				  localAreaAddress);
+		if (ret < 0)
+			return -1;
+	}
+
 	return 0;
 }
 
Signature · 1 line
1.4.4.3
#1 lore raw
Quoted 1 line · Jing Min Zhao

Add missing process of T.120 address in OpenLogicalChannelAck signal.

Applied, thanks.