ALT Linux Bugzilla
– Attachment 349 Details for
Bug 3708
неправильная работа с интерфейсами ipsec_tunnel
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
нормальная обработка ipsec_tunnel
iproute2-2.4.7-alt-ipsectun.patch (text/plain), 1.47 KB, created by
Denis Ovsienko
on 2004-02-17 16:46:24 MSK
(
hide
)
Description:
нормальная обработка ipsec_tunnel
Filename:
MIME Type:
Creator:
Denis Ovsienko
Created:
2004-02-17 16:46:24 MSK
Size:
1.47 KB
patch
obsolete
>diff -urN iproute2.altpatches/include/utils.h iproute2.altpatches.ipsec/include/utils.h >--- iproute2.altpatches/include/utils.h 2002-01-08 21:41:16 +0200 >+++ iproute2.altpatches.ipsec/include/utils.h 2004-02-17 15:12:47 +0200 >@@ -22,6 +22,9 @@ > #ifndef IPPROTO_AH > #define IPPROTO_AH 51 > #endif >+#ifndef ARPHRD_IPSECTUN >+#define ARPHRD_IPSECTUN 31 /* IPSec tunneled mode */ >+#endif > > #define SPRINT_BSIZE 64 > #define SPRINT_BUF(x) char x[SPRINT_BSIZE] >diff -urN iproute2.altpatches/lib/ll_addr.c iproute2.altpatches.ipsec/lib/ll_addr.c >--- iproute2.altpatches/lib/ll_addr.c 2004-02-17 15:06:50 +0200 >+++ iproute2.altpatches.ipsec/lib/ll_addr.c 2004-02-17 15:09:33 +0200 >@@ -33,7 +33,7 @@ > int l; > > if (alen == 4 && >- (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE)) { >+ (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE || type == ARPHRD_IPSECTUN)) { > return inet_ntop(AF_INET, addr, buf, blen); > } > l = 0; >diff -urN iproute2.altpatches/lib/ll_types.c iproute2.altpatches.ipsec/lib/ll_types.c >--- iproute2.altpatches/lib/ll_types.c 2004-02-17 15:06:50 +0200 >+++ iproute2.altpatches.ipsec/lib/ll_types.c 2004-02-17 15:41:55 +0200 >@@ -23,6 +23,7 @@ > #include <linux/netdevice.h> > #include <linux/if_arp.h> > #include <linux/sockios.h> >+#include "utils.h" > > char * ll_type_n2a(int type, char *buf, int len) > { >@@ -52,6 +53,7 @@ > #ifdef ARPHRD_IEEE1394 > __PF(IEEE1394,ieee1394) > #endif >+__PF(IPSECTUN,ipsectun) > > __PF(SLIP,slip) > __PF(CSLIP,cslip)
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 3708
: 349