Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26475
b: refs/heads/master
c: 4228e2a
h: refs/heads/master
i:
  26473: e5ecf94
  26471: 62e4bcd
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed May 4, 2006
1 parent 7d832ec commit 217890f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fd737031eb6869430d0f3cf6bf1440adf7aedf5
refs/heads/master: 4228e2a9890cd01b0c8cc58af6fd9e08a4b5e8a7
8 changes: 4 additions & 4 deletions trunk/net/ipv4/netfilter/ip_conntrack_helper_h323_asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,10 @@ int decode_choice(bitstr_t * bs, field_t * f, char *base, int level)
type = get_bits(bs, f->sz);
}

/* Write Type */
if (base)
*(unsigned *) base = type;

/* Check Range */
if (type >= f->ub) { /* Newer version? */
BYTE_ALIGN(bs);
Expand All @@ -712,10 +716,6 @@ int decode_choice(bitstr_t * bs, field_t * f, char *base, int level)
return H323_ERROR_NONE;
}

/* Write Type */
if (base)
*(unsigned *) base = type;

/* Transfer to son level */
son = &f->fields[type];
if (son->attr & STOP) {
Expand Down

0 comments on commit 217890f

Please sign in to comment.