Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64064
b: refs/heads/master
c: aa584ed
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Aug 14, 2007
1 parent 4805df0 commit 8235dc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 465f90a486cd724d364167747e8b8b9f806fa91a
refs/heads/master: aa584eda5d2002097de9f608b362d9150730abd7
5 changes: 4 additions & 1 deletion trunk/net/netfilter/nf_conntrack_sip.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ static int epaddr_len(struct nf_conn *ct, const char *dptr,
static int skp_epaddr_len(struct nf_conn *ct, const char *dptr,
const char *limit, int *shift)
{
const char *start = dptr;
int s = *shift;

/* Search for @, but stop at the end of the line.
Expand All @@ -309,8 +310,10 @@ static int skp_epaddr_len(struct nf_conn *ct, const char *dptr,
if (dptr <= limit && *dptr == '@') {
dptr++;
(*shift)++;
} else
} else {
dptr = start;
*shift = s;
}

return epaddr_len(ct, dptr, limit, shift);
}
Expand Down

0 comments on commit 8235dc7

Please sign in to comment.