Bugzilla – Attachment 2070 Details for
Bug 1836
"undesired" behavior when using the -r flag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Simple fix for times in the future
rtimes.patch (text/plain), 634 bytes, created by
Martin Vejmelka
on 2011-07-27 22:18:54 AEST
(
hide
)
Description:
Simple fix for times in the future
Filename:
MIME Type:
Creator:
Martin Vejmelka
Created:
2011-07-27 22:18:54 AEST
Size:
634 bytes
patch
obsolete
>diff -r b35a000870cc softflowd.c >--- a/softflowd.c Mon Nov 01 12:03:41 2010 +1100 >+++ b/softflowd.c Wed Jul 27 14:18:48 2011 +0200 >@@ -1134,6 +1134,12 @@ > } else { > tv.tv_sec = phdr->ts.tv_sec; > tv.tv_usec = phdr->ts.tv_usec; >+ >+ if (cb_ctxt->ft->system_boot_time.tv_sec > tv.tv_sec) { >+ cb_ctxt->ft->system_boot_time.tv_sec = tv.tv_sec - 1; >+ cb_ctxt->ft->system_boot_time.tv_usec = 0; >+ } >+ > if (process_packet(cb_ctxt->ft, pkt + s, af, > phdr->caplen - s, phdr->len - s, &tv) == PP_MALLOC_FAIL) > cb_ctxt->fatal = 1;
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 1836
:
1953
| 2070