Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155641
b: refs/heads/master
c: aa6a03e
h: refs/heads/master
i:
  155639: d69b379
v: v3
  • Loading branch information
Patrick McHardy committed Jul 16, 2009
1 parent 77aec1e commit 8de579b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 3f1f7cf08ddf10ef7fbf06d881582c95b9747f4e
refs/heads/master: aa6a03eb0ae859c1371555ef381de4c96ca1e4e6
5 changes: 3 additions & 2 deletions trunk/net/netfilter/xt_osf.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ static bool xt_osf_match_packet(const struct sk_buff *skb,
fcount++;

if (info->flags & XT_OSF_LOG)
nf_log_packet(p->hooknum, 0, skb, p->in, p->out, NULL,
nf_log_packet(p->family, p->hooknum, skb,
p->in, p->out, NULL,
"%s [%s:%s] : %pi4:%d -> %pi4:%d hops=%d\n",
f->genre, f->version, f->subtype,
&ip->saddr, ntohs(tcp->source),
Expand All @@ -345,7 +346,7 @@ static bool xt_osf_match_packet(const struct sk_buff *skb,
rcu_read_unlock();

if (!fcount && (info->flags & XT_OSF_LOG))
nf_log_packet(p->hooknum, 0, skb, p->in, p->out, NULL,
nf_log_packet(p->family, p->hooknum, skb, p->in, p->out, NULL,
"Remote OS is not known: %pi4:%u -> %pi4:%u\n",
&ip->saddr, ntohs(tcp->source),
&ip->daddr, ntohs(tcp->dest));
Expand Down

0 comments on commit 8de579b

Please sign in to comment.