|
@@ -0,0 +1,58 @@
|
|
1
|
+--- a/dtls.c
|
|
2
|
++++ b/dtls.c
|
|
3
|
+@@ -523,6 +523,7 @@ void *udpdtlsserverrd(void *arg) {
|
|
4
|
+ free(params);
|
|
5
|
+ cacheexpire(sessioncache, &lastexpiry);
|
|
6
|
+ }
|
|
7
|
++ return NULL;
|
|
8
|
+ }
|
|
9
|
+
|
|
10
|
+ int dtlsconnect(struct server *server, struct timeval *when, int timeout, char *text) {
|
|
11
|
+@@ -642,6 +643,7 @@ void *udpdtlsclientrd(void *arg) {
|
|
12
|
+ if (udp2bio(s, conf->servers->rbios, cnt))
|
|
13
|
+ debug(DBG_DBG, "radudpget: got DTLS in UDP from %s", addr2string((struct sockaddr *)&from));
|
|
14
|
+ }
|
|
15
|
++ return NULL;
|
|
16
|
+ }
|
|
17
|
+
|
|
18
|
+ void *dtlsclientrd(void *arg) {
|
|
19
|
+--- a/radsecproxy.c
|
|
20
|
++++ b/radsecproxy.c
|
|
21
|
+@@ -3203,6 +3203,8 @@ void *sighandler(void *arg) {
|
|
22
|
+ debug(DBG_WARN, "sighandler: ignoring signal %d", sig);
|
|
23
|
+ }
|
|
24
|
+ }
|
|
25
|
++
|
|
26
|
++ return NULL;
|
|
27
|
+ }
|
|
28
|
+
|
|
29
|
+ int createpidfile(const char *pidfile) {
|
|
30
|
+@@ -3289,6 +3291,8 @@ int radsecproxy_main(int argc, char **ar
|
|
31
|
+ /* just hang around doing nothing, anything to do here? */
|
|
32
|
+ for (;;)
|
|
33
|
+ sleep(1000);
|
|
34
|
++
|
|
35
|
++ return 0;
|
|
36
|
+ }
|
|
37
|
+
|
|
38
|
+ /* Local Variables: */
|
|
39
|
+--- a/udp.c
|
|
40
|
++++ b/udp.c
|
|
41
|
+@@ -266,6 +266,8 @@ void *udpclientrd(void *arg) {
|
|
42
|
+ buf = radudpget(*s, NULL, &server, NULL);
|
|
43
|
+ replyh(server, buf);
|
|
44
|
+ }
|
|
45
|
++
|
|
46
|
++ return NULL;
|
|
47
|
+ }
|
|
48
|
+
|
|
49
|
+ void *udpserverrd(void *arg) {
|
|
50
|
+@@ -310,6 +312,8 @@ void *udpserverwr(void *arg) {
|
|
51
|
+ debug(DBG_DBG, "udpserverwr: refcount %d", reply->refcount);
|
|
52
|
+ freerq(reply);
|
|
53
|
+ }
|
|
54
|
++
|
|
55
|
++ return NULL;
|
|
56
|
+ }
|
|
57
|
+
|
|
58
|
+ void addclientudp(struct client *client) {
|