mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
eec0520a03
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>
30 lines
680 B
C
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);
|
|
|
|
|