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

(-)iproute2.altpatches/include/utils.h (+3 lines)
Lines 22-27 Link Here
22
#ifndef IPPROTO_AH
22
#ifndef IPPROTO_AH
23
#define IPPROTO_AH	51
23
#define IPPROTO_AH	51
24
#endif
24
#endif
25
#ifndef ARPHRD_IPSECTUN
26
#define ARPHRD_IPSECTUN 31 /* IPSec tunneled mode */
27
#endif
25
28
26
#define SPRINT_BSIZE 64
29
#define SPRINT_BSIZE 64
27
#define SPRINT_BUF(x)	char x[SPRINT_BSIZE]
30
#define SPRINT_BUF(x)	char x[SPRINT_BSIZE]
(-)iproute2.altpatches/lib/ll_addr.c (-1 / +1 lines)
Lines 33-39 Link Here
33
	int l;
33
	int l;
34
34
35
	if (alen == 4 &&
35
	if (alen == 4 &&
36
	    (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE)) {
36
	    (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE || type == ARPHRD_IPSECTUN)) {
37
		return inet_ntop(AF_INET, addr, buf, blen);
37
		return inet_ntop(AF_INET, addr, buf, blen);
38
	}
38
	}
39
	l = 0;
39
	l = 0;
(-)iproute2.altpatches/lib/ll_types.c (+2 lines)
Lines 23-28 Link Here
23
#include <linux/netdevice.h>
23
#include <linux/netdevice.h>
24
#include <linux/if_arp.h>
24
#include <linux/if_arp.h>
25
#include <linux/sockios.h>
25
#include <linux/sockios.h>
26
#include "utils.h"
26
27
27
char * ll_type_n2a(int type, char *buf, int len)
28
char * ll_type_n2a(int type, char *buf, int len)
28
{
29
{
Lines 52-57 Link Here
52
#ifdef ARPHRD_IEEE1394
53
#ifdef ARPHRD_IEEE1394
53
__PF(IEEE1394,ieee1394)
54
__PF(IEEE1394,ieee1394)
54
#endif
55
#endif
56
__PF(IPSECTUN,ipsectun)
55
57
56
__PF(SLIP,slip)
58
__PF(SLIP,slip)
57
__PF(CSLIP,cslip)
59
__PF(CSLIP,cslip)

Return to bug 3708