FreeBSD Bugzilla – Attachment 10372 Details for
Bug 20825
Bug fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.51 KB, created by
Oddbjorn Steffensen
on 2000-08-24 21:00:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Oddbjorn Steffensen
Created:
2000-08-24 21:00:03 UTC
Size:
1.51 KB
patch
obsolete
>diff -urN bpft/patches/patch-ah bpft.new/patches/patch-ah >--- bpft/patches/patch-ah Thu Jan 1 01:00:00 1970 >+++ bpft.new/patches/patch-ah Thu Aug 24 21:45:23 2000 >@@ -0,0 +1,39 @@ >+--- trafd/traffic.c.buggy Mon Aug 7 18:45:54 2000 >++++ trafd/traffic.c Mon Aug 7 18:46:42 2000 >+@@ -253,7 +253,7 @@ >+ t.p_port = tp->th_sport, t.who_srv = 1; >+ else if (tp->th_sport > tp->th_dport) >+ t.p_port = tp->th_dport, t.who_srv = 2; >+- else if (tp->th_sport = tp->th_dport) >++ else if (tp->th_sport == tp->th_dport) >+ t.p_port = tp->th_sport, t.who_srv = 3; >+ if (t.p_port > IPPORT_RESERVED) { >+ if (s_port_big[tp->th_sport & (IPPORT_RESERVED-1)] & IPPROTO_TCP) { >+@@ -263,7 +263,7 @@ >+ t.p_port = tp->th_dport; >+ t.who_srv = 2; >+ } >+- if (tp->th_sport = tp->th_dport) t.who_srv = 3; >++ if (tp->th_sport == tp->th_dport) t.who_srv = 3; >+ } >+ traf_add(insertentry(&t), t.n_bytes, t.n_psize); >+ >+@@ -300,7 +300,7 @@ >+ t.p_port = up->uh_sport, t.who_srv = 1; >+ else if (up->uh_sport > up->uh_dport) >+ t.p_port = up->uh_dport, t.who_srv = 2; >+- else if (up->uh_sport = up->uh_dport) >++ else if (up->uh_sport == up->uh_dport) >+ t.p_port = up->uh_sport, t.who_srv = 3; >+ if (t.p_port > IPPORT_RESERVED) { >+ if (s_port_big[up->uh_sport & (IPPORT_RESERVED-1)] & IPPROTO_UDP) { >+@@ -310,7 +310,7 @@ >+ t.p_port = up->uh_dport; >+ t.who_srv = 2; >+ } >+- if (up->uh_sport = up->uh_dport) t.who_srv = 3; >++ if (up->uh_sport == up->uh_dport) t.who_srv = 3; >+ } >+ traf_add(insertentry(&t), t.n_bytes, t.n_psize); >+ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20825
: 10372