FreeBSD Bugzilla – Attachment 154475 Details for
Bug 198682
[PATCH] sysutils/pftop: Fix build on ARM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pftop.diff (text/plain), 860 bytes, created by
Renato Botelho
on 2015-03-18 12:21:36 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2015-03-18 12:21:36 UTC
Size:
860 bytes
patch
obsolete
>Index: files/extra-patch-pftop.c >=================================================================== >--- files/extra-patch-pftop.c (revision 381538) >+++ files/extra-patch-pftop.c (working copy) >@@ -321,7 +321,7 @@ > - print_fld_rate(FLD_SA, (s->creation > 0) ? > - ((double)sz/(double)s->creation) : -1); > + print_fld_rate(FLD_SA, (s->creation) ? >-+ ((double)sz/PF_TSTAMP((double)s->creation)) : -1); >++ ((double)sz/PF_TSTAMP(s->creation)) : -1); > } > #else > print_fld_size(FLD_PKTS, s->packets); >@@ -329,7 +329,7 @@ > - print_fld_rate(FLD_SA, (s->creation > 0) ? > - ((double)s->bytes/(double)s->creation) : -1); > + print_fld_rate(FLD_SA, (s->creation) ? >-+ ((double)s->bytes/PF_TSTAMP((double)s->creation)) : -1); >++ ((double)s->bytes/PF_TSTAMP(s->creation)) : -1); > > #endif > #ifdef HAVE_PFSYNC_STATE
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 198682
: 154475