1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/net-mgmt/coovachilli/files/patch-src_redir.h
Dmitry Marakasov eec0520a03 CoovaChilli is an access controller
It provides a captive portal / walled garden environment.
Coova builds on the popular features of the now defunct Chillispot.

WWW: http://www.coova.org/

PR:		130357
Submitted by:	Sevan Janiyan <venture37 at geeklan dot co dot uk>
2009-01-20 11:57:59 +00:00

30 lines
680 B
C

diff -urN src/redir.h src/redir.h
--- src/redir.h.orig 2008-06-28 17:38:35.000000000 +0100
+++ src/redir.h 2008-06-29 16:17:48.000000000 +0100
@@ -124,17 +124,18 @@
struct redir_conn_t *conn);
};
+struct redir_msg_data {
+ uint16_t opt;
+ struct in_addr addr;
+ struct redir_state redir;
+ struct session_params params;
+} __attribute__((packed));
+
struct redir_msg_t {
long mtype;
- struct redir_msg_data {
- uint16_t opt;
- struct in_addr addr;
- struct redir_state redir;
- struct session_params params;
- } mdata;
+ struct redir_msg_data mdata;
};
-
int redir_new(struct redir_t **redir, struct in_addr *addr, int port, int uiport);