View | Details | Raw Unified | Return to bug 1836
Collapse All | Expand All

(-)a/softflowd.c (+6 lines)
Lines 1134-1139 Link Here
1134
	} else {
1134
	} else {
1135
		tv.tv_sec = phdr->ts.tv_sec;
1135
		tv.tv_sec = phdr->ts.tv_sec;
1136
		tv.tv_usec = phdr->ts.tv_usec;
1136
		tv.tv_usec = phdr->ts.tv_usec;
1137
                
1138
                if (cb_ctxt->ft->system_boot_time.tv_sec > tv.tv_sec) {
1139
                    cb_ctxt->ft->system_boot_time.tv_sec = tv.tv_sec - 1;
1140
                    cb_ctxt->ft->system_boot_time.tv_usec = 0;
1141
                }
1142
                
1137
		if (process_packet(cb_ctxt->ft, pkt + s, af,
1143
		if (process_packet(cb_ctxt->ft, pkt + s, af,
1138
		    phdr->caplen - s, phdr->len - s, &tv) == PP_MALLOC_FAIL)
1144
		    phdr->caplen - s, phdr->len - s, &tv) == PP_MALLOC_FAIL)
1139
			cb_ctxt->fatal = 1;
1145
			cb_ctxt->fatal = 1;

Return to bug 1836