summaryrefslogtreecommitdiff
path: root/package/ead/src/ead.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 14:08:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-06 14:08:07 +0000
commit555b1af398c2b808d93a2e93699bce8dcd2b917a (patch)
tree4b636a11df7ac12fdd99ab45cf950d1171e785b9 /package/ead/src/ead.h
parent67f10747308d9adca469b727296994c16699707f (diff)
ead: allow the client to override the source ip of the server, so that it can work with route filtering properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ead/src/ead.h')
-rw-r--r--package/ead/src/ead.h3
1 files changed, 2 insertions, 1 deletions
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 <stdint.h>
#include <stddef.h>
@@ -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;