Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12538 closed defect (fixed)

Patch tcptable.h in iptraf package for kernel 3.6.7

Reported by: phuque99 <phuque99@…> Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: iptraf if_tr.h Cc:

Description

The iptraf package will fail to compile with kernel 3.6.7 with the error message:

tcptable.h:26:25: fatal error: linux/if_tr.h: No such file or directory

This is because the "iptraf-3.0.1/src/tcptable.h" file in the iptraf package points to the header file "<linux/if_tr.h>" that is now located at "<netinet/if_tr.h>" on the new kernel version. There should be a 3.6.7 patch for iptraf to support kernel 3.6.7 by changing the following in tcptable.h:

#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>

to

#include <netinet/if_packet.h>
#include <netinet/if_ether.h>
#include <netinet/netdevice.h>

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by phuque99 <phuque99@…>

Correction: This should be in Barrier Breaker and only these should be updated:

#include <linux/if_ether.h>
#include <linux/if_tr.h>

comment:2 Changed 5 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r34708

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.