Commit a4aebc71 authored by Théophile Bastian's avatar Théophile Bastian

v4ov6: use AE 4 for v4-over-v6.

parent 41eab531
...@@ -46,7 +46,7 @@ THE SOFTWARE. ...@@ -46,7 +46,7 @@ THE SOFTWARE.
#define AE_IPV4 1 #define AE_IPV4 1
#define AE_IPV6 2 #define AE_IPV6 2
#define AE_IPV6_LOCAL 3 #define AE_IPV6_LOCAL 3
#define AE_V4OV6 240 #define AE_V4OV6 4
extern unsigned short myseqno; extern unsigned short myseqno;
extern struct timeval seqno_time; extern struct timeval seqno_time;
......
...@@ -473,7 +473,7 @@ v4tov6(unsigned char *dst, const unsigned char *src) ...@@ -473,7 +473,7 @@ v4tov6(unsigned char *dst, const unsigned char *src)
int int
ae_is_v4(int ae) ae_is_v4(int ae)
{ {
return ae == 1 || ae == 240; return ae == 1 || ae == 4;
} }
int int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment