summaryrefslogtreecommitdiff
path: root/package/supl/patches/patch-src_supl_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-04 09:21:57 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-03-04 09:21:57 +0100
commit4fc74012b67cfc62c5481b8d7b6d95052f40c2bf (patch)
treed6f7c860195c63564d98f53c143acbf0082ea3ca /package/supl/patches/patch-src_supl_h
parent68b4cb5aaa95eb39401bcbaa7c517cfd31c3edcf (diff)
parent9919c4bc2f53037331313edace085c386c2af4cc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/supl/patches/patch-src_supl_h')
-rw-r--r--package/supl/patches/patch-src_supl_h19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/supl/patches/patch-src_supl_h b/package/supl/patches/patch-src_supl_h
new file mode 100644
index 000000000..c2e9e8da4
--- /dev/null
+++ b/package/supl/patches/patch-src_supl_h
@@ -0,0 +1,19 @@
+ - implement bind to device functionality
+--- trunk.orig/src/supl.h 2011-10-21 20:08:29.000000000 +0200
++++ trunk/src/supl.h 2013-04-24 18:52:14.916232733 +0200
+@@ -19,6 +19,7 @@
+ #include <openssl/ssl.h>
+ #include <PDU.h>
+ #include <ULP-PDU.h>
++#include <net/if.h>
+
+ #define SUPL_PORT "7275"
+
+@@ -204,6 +205,7 @@ typedef struct supl_ctx_s {
+ size_t size;
+ } slp_session_id;
+
++ char iface[IFNAMSIZ + 1];
+ } supl_ctx_t;
+
+ int supl_ctx_new(supl_ctx_t *ctx);