Skip to content

Commit

Permalink
[NETFILTER]: nf_conntrack_h323: add missing T.120 address in OLCA
Browse files Browse the repository at this point in the history
Add missing process of T.120 address in OpenLogicalChannelAck signal.

Signed-off-by: Jing Min Zhao <zhaojingmin@vivecode.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jing Min Zhao authored and David S. Miller committed May 24, 2007
1 parent 596830f commit f8f1c08
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions net/netfilter/nf_conntrack_h323_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f8f1c08

Please sign in to comment.