From da951bad66813a97971be00847b052e750f6b6a5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 6 Jan 2009 14:08:07 +0000 Subject: ead: allow the client to override the source ip of the server, so that it can work with route filtering properly SVN-Revision: 13883 --- package/ead/src/ead.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/ead/src/ead.h') diff --git a/package/ead/src/ead.h b/package/ead/src/ead.h index 3cc12c8a4d..36db0f5529 100644 --- a/package/ead/src/ead.h +++ b/package/ead/src/ead.h @@ -14,7 +14,7 @@ #ifndef __EAD_H #define __EAD_H -#define EAD_DEBUGLEVEL 2 +#define EAD_DEBUGLEVEL 1 #include #include @@ -120,6 +120,7 @@ struct ead_msg { uint32_t type; uint16_t nid; /* node id */ uint16_t tid; /* transaction id */ + uint32_t ip; /* source ip for responses from the server */ union { struct ead_msg_pong pong; struct ead_msg_user user; -- cgit v1.2.3