[Olsr-commit] OLSR.org main repository branch, master, updated. v0.9.0.3-464-g93644e3
(spam-protected)
(spam-protected)
Thu Feb 25 13:44:47 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OLSR.org main repository".
See http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=v0.9.0.3-464-g93644e3
for a web version of the last commit.
The branch, master has been updated
via 93644e37a2f508194ce0d79c4a226a04d4beac79 (commit)
via 97aca55e3d0ab9d47495d9ff0826de5cb72b499a (commit)
via 3143ea7971cbaf227cf1713d2e0884ef7531d83b (commit)
via 8a949a4544e2c63e7b66c8c50817e728f21024b6 (commit)
via c775c9504fe4d93438d4bf9ce42368adb8530be1 (commit)
via 70d9d6199b8d6ed18c95c553e65ce44dda8749e9 (commit)
via 5aa4442c02e0886097de132ebaa5778851111053 (commit)
via 0811e31260ba065750150205a22c545a10f80f19 (commit)
via f8d4e24ac281e01d43fa75f6c034ca25d4edf1ce (commit)
via 7a46992495ea2560696b79aaca616cd18a8f85bd (commit)
via 29538b20fb1d9fb0674ab02df988e343431183c8 (commit)
via 3f2f6a235065f5974c3f3e48b5af6f2f4f42ad39 (commit)
via d9b773d94c5f84a769a20a563f9cf25a81a030fa (commit)
via 5099533614033900638ebf231e39a7b06a67c6ca (commit)
via 6e55205f31115fefa8a232462012522e2bb46d37 (commit)
via 592bfc6af42351dcfaa891d8583e89e222b8d3f9 (commit)
via f8ea462fbdbf14c9e8ff0684633859f2d582f966 (commit)
via b036e32e1ca03868ecc658fabe67d44a645bc9cd (commit)
via 01554512ed80600ee617d6656b3f92482de245f3 (commit)
via aa3d53ee9da4c29cf892a19f40682f1eb42d2ecb (commit)
via 38373e64d69d59e48a08a2f0271284544dbbb6b2 (commit)
via d16f98acf6f190ba968fbac60da7765a59d430a1 (commit)
via 7eaeee62f612d35d1271b48369cf3722aff5ffb7 (commit)
via b6b2ae667eb39bbf7525d63189a9e261c345e33c (commit)
from dd7c5a03328f8a74d1758f8889ee0e30eaa41eaf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 93644e37a2f508194ce0d79c4a226a04d4beac79
Author: Ferry Huberts <(spam-protected)>
Date: Wed Feb 24 00:00:12 2016 +0100
make: add new GCC 6 warning flags
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 97aca55e3d0ab9d47495d9ff0826de5cb72b499a
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:24:19 2016 +0100
quagga: fix GCC 6 warnings
src/plugin.c:57:66: error: logical ‘and’ of equal expressions [-Werror=logical-op]
for (i = 0; i < ARRAYSIZE(zroute_types) && i < ZEBRA_ROUTE_MAX; i++) {
^~
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 3143ea7971cbaf227cf1713d2e0884ef7531d83b
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:51:50 2016 +0100
pud: fix GCC 6 warnings
src/netTools.c: In function ‘getIPv4Address’:
src/netTools.c:96:55: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
return &((struct sockaddr_in *)(void *) &ifr->ifr_addr)->sin_addr;
^
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 8a949a4544e2c63e7b66c8c50817e728f21024b6
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:49:01 2016 +0100
p2pd: fix GCC 6 warnings
src/NetworkInterfaces.c: In function ‘CreateInterface’:
src/NetworkInterfaces.c:247:50: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->intAddr.v4 = ((struct sockaddr_in *) ARM_NOWARN_ALIGN(&ifr.ifr_addr))->sin_addr;
^
src/NetworkInterfaces.c:260:52: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->broadAddr.v4 = ((struct sockaddr_in *) ARM_NOWARN_ALIGN(&ifr.ifr_broadaddr))->sin_addr;
^
src/NetworkInterfaces.c: In function ‘CreateNonOlsrNetworkInterfaces’:
src/NetworkInterfaces.c:368:40: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ipAddr.v4 = ((struct sockaddr_in *) ARM_NOWARN_ALIGN(&ifr->ifr_addr))->sin_addr;
^
Signed-off-by: Ferry Huberts <(spam-protected)>
commit c775c9504fe4d93438d4bf9ce42368adb8530be1
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:46:20 2016 +0100
mdns: fix GCC 6 warnings
src/NetworkInterfaces.c: In function ‘CreateRouterElectionSocket’:
src/NetworkInterfaces.c:288:59: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ipv4_addr = ((struct sockaddr_in *)(void *) &req.ifr_addr)->sin_addr;
^
src/NetworkInterfaces.c: In function ‘CreateHelloSocket’:
src/NetworkInterfaces.c:383:59: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ipv4_addr = ((struct sockaddr_in *)(void *) &req.ifr_addr)->sin_addr;
^
src/NetworkInterfaces.c: In function ‘CreateInterface’:
src/NetworkInterfaces.c:541:49: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->intAddr.v4 = ((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_addr))->sin_addr;
^
src/NetworkInterfaces.c:554:51: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->broadAddr.v4 = ((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_broadaddr))->sin_addr;
^
src/NetworkInterfaces.c: In function ‘CreateBmfNetworkInterfaces’:
src/NetworkInterfaces.c:662:39: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ipAddr.v4 = ((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr->ifr_addr))->sin_addr;
^
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 70d9d6199b8d6ed18c95c553e65ce44dda8749e9
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:16:12 2016 +0100
bmf: fix GCC 6 warnings
src/NetworkInterfaces.c: In function ‘CreateLocalEtherTunTap’:
src/NetworkInterfaces.c:1275:25: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in*) ARM_NOWARN_ALIGN(&ifreq.ifr_addr))->sin_addr.s_addr = htonl(EtherTunTapIp);
^
src/NetworkInterfaces.c:1280:27: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in*) ARM_NOWARN_ALIGN(&ifreq.ifr_netmask))->sin_addr.s_addr = htonl(EtherTunTapIpMask);
^
src/NetworkInterfaces.c:1285:29: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in*) ARM_NOWARN_ALIGN(&ifreq.ifr_broadaddr))->sin_addr.s_addr = htonl(EtherTunTapIpBroadcast);
^
src/NetworkInterfaces.c: In function ‘CreateInterface’:
src/NetworkInterfaces.c:1497:50: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->intAddr.v4 = ((struct sockaddr_in *) ARM_NOWARN_ALIGN(&ifr.ifr_addr))->sin_addr;
^
src/NetworkInterfaces.c:1513:52: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
newIf->broadAddr.v4 = ((struct sockaddr_in *) ARM_NOWARN_ALIGN(&ifr.ifr_broadaddr))->sin_addr;
^
src/NetworkInterfaces.c: In function ‘CreateBmfNetworkInterfaces’:
src/NetworkInterfaces.c:1626:40: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ipAddr.v4 = ((struct sockaddr_in*) ARM_NOWARN_ALIGN(&ifr->ifr_addr))->sin_addr;
^
src/NetworkInterfaces.c: In function ‘AddMulticastRoute’:
src/NetworkInterfaces.c:1944:12: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in *) ARM_NOWARN_ALIGN(&kernel_route.rt_dst))->sin_addr.s_addr = htonl(0xE0000000);
^~~~~~~~~~~
src/NetworkInterfaces.c:1945:12: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in *) ARM_NOWARN_ALIGN(&kernel_route.rt_genmask))->sin_addr.s_addr = htonl(0xF0000000);
^~~~~~~~~~~
src/NetworkInterfaces.c: In function ‘DeleteMulticastRoute’:
src/NetworkInterfaces.c:1989:14: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in *) ARM_NOWARN_ALIGN(&kernel_route.rt_dst))->sin_addr.s_addr = htonl(0xE0000000);
^~~~~~~~~~~
src/NetworkInterfaces.c:1990:14: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
((struct sockaddr_in *) ARM_NOWARN_ALIGN(&kernel_route.rt_genmask))->sin_addr.s_addr = htonl(0xF0000000);
^~~~~~~~~~~
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 5aa4442c02e0886097de132ebaa5778851111053
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:25:31 2016 +0100
parser: fix GCC 6 warnings
src/parser.c:450:30: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
void * src = &((struct sockaddr_in *)(void *)&from)->sin_addr;
^~~~~~~~~~~
src/parser.c:454:30: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
void * src = &((struct sockaddr_in6 *)(void *)&from)->sin6_addr;
^~~~~~~~~~~~
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 0811e31260ba065750150205a22c545a10f80f19
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 22:48:04 2016 +0100
sgw: fix GCC 6 warnings
src/gateway.c: In function ‘takeDownExpensiveGateways’:
src/gateway.c:701:17: error: potential null pointer dereference [-Werror=null-dereference]
if (worst_gw->gw->path_cost < current_gw_cost_boundary) {
~~~~~~~~^~~~
Signed-off-by: Ferry Huberts <(spam-protected)>
commit f8d4e24ac281e01d43fa75f6c034ca25d4edf1ce
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 22:55:18 2016 +0100
link_set: fix GCC 6 warnings
src/link_set.c: In function ‘update_link_entry’:
src/link_set.c:335:24: error: potential null pointer dereference [-Werror=null-dereference]
for (mult = cfg_inter->cnf->lq_mult; mult != NULL; mult = mult->next) {
~~~~~~~~~^~~~~
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 7a46992495ea2560696b79aaca616cd18a8f85bd
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 19:36:46 2016 +0100
unix: fix GCC 6 warnings
src/unix/ifnet.c:270:109: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
(&((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifp->int_addr))->sin_addr.s_addr, &((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_addr))->sin_addr.s_addr,
^
src/unix/ifnet.c:277:45: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifp->int_addr = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_addr);
^
src/unix/ifnet.c:278:52: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
memcpy(&ifp->ip_addr, &((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_addr))->sin_addr.s_addr, olsr_cnf->ipsize);
^
src/unix/ifnet.c:296:112: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
(&((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifp->int_netmask))->sin_addr.s_addr, &((struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_netmask))->sin_addr.s_addr,
^
src/unix/ifnet.c:303:48: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifp->int_netmask = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_netmask);
^
src/unix/ifnet.c:332:52: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifp->int_broadaddr = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_broadaddr);
^
src/unix/ifnet.c: In function ‘chk_if_up’:
src/unix/ifnet.c:604:44: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifs.int_addr = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_addr);
^
src/unix/ifnet.c:612:45: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifs.int_netmask = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_netmask);
^
src/unix/ifnet.c:625:49: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
ifs.int_broadaddr = *(struct sockaddr_in *)ARM_NOWARN_ALIGN(&ifr.ifr_broadaddr);
^
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 29538b20fb1d9fb0674ab02df988e343431183c8
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 23:54:54 2016 +0100
make: sort warnings flags and make that section a bit easier to read
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 3f2f6a235065f5974c3f3e48b5af6f2f4f42ad39
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 23:55:46 2016 +0100
make: remove conditionals in WARNINGS section, no longer needed
Signed-off-by: Ferry Huberts <(spam-protected)>
commit d9b773d94c5f84a769a20a563f9cf25a81a030fa
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 23:42:36 2016 +0100
make: need to load the OS specific makefile before evaluating WARNINGS
Otherwise the compiler flag detection will not use the correct CC
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 5099533614033900638ebf231e39a7b06a67c6ca
Author: Ferry Huberts <(spam-protected)>
Date: Tue Feb 23 23:42:04 2016 +0100
make: add more recognised formats to the gcc-warnings script
And fix a typo
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 6e55205f31115fefa8a232462012522e2bb46d37
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 18:51:40 2016 +0100
changelog: update for info/jsoninfo/txtinfo changes
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 592bfc6af42351dcfaa891d8583e89e222b8d3f9
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 18:26:39 2016 +0100
txtinfo: /config & /plugins are not implemented: return "not found" (404)
Signed-off-by: Ferry Huberts <(spam-protected)>
commit f8ea462fbdbf14c9e8ff0684633859f2d582f966
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 17:20:22 2016 +0100
info: respond with "no content" (204) on empty output
Signed-off-by: Ferry Huberts <(spam-protected)>
commit b036e32e1ca03868ecc658fabe67d44a645bc9cd
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 16:26:07 2016 +0100
info: respond with "not found" (404) on invalid commands
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 01554512ed80600ee617d6656b3f92482de245f3
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 14:28:18 2016 +0100
info: add function to the function table to output an error
Signed-off-by: Ferry Huberts <(spam-protected)>
commit aa3d53ee9da4c29cf892a19f40682f1eb42d2ecb
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 15:05:35 2016 +0100
info: prepare for more HTTP status codes
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 38373e64d69d59e48a08a2f0271284544dbbb6b2
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 15:11:23 2016 +0100
info: requesting / now is equivalent to /all
Signed-off-by: Ferry Huberts <(spam-protected)>
commit d16f98acf6f190ba968fbac60da7765a59d430a1
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 15:09:23 2016 +0100
info: rename an HTTP status define
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 7eaeee62f612d35d1271b48369cf3722aff5ffb7
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 15:37:51 2016 +0100
info: also handle empty requests
Signed-off-by: Ferry Huberts <(spam-protected)>
commit b6b2ae667eb39bbf7525d63189a9e261c345e33c
Author: Ferry Huberts <(spam-protected)>
Date: Sun Feb 21 15:41:03 2016 +0100
info: requests that are too large must set s to < 0
Signed-off-by: Ferry Huberts <(spam-protected)>
-----------------------------------------------------------------------
Summary of changes:
CHANGELOG | 24 ++++--
Makefile.inc | 159 ++++++++++++++++++++------------------
gcc-warnings | 10 ++-
lib/bmf/src/NetworkInterfaces.c | 39 +++++++---
lib/info/http_headers.c | 5 +-
lib/info/http_headers.h | 22 +++++-
lib/info/info_types.h | 2 +
lib/info/olsrd_info.c | 134 ++++++++++++++++++++------------
lib/jsoninfo/src/olsrd_jsoninfo.c | 28 +++++++
lib/jsoninfo/src/olsrd_jsoninfo.h | 1 +
lib/jsoninfo/src/olsrd_plugin.c | 1 +
lib/mdns/src/NetworkInterfaces.c | 21 +++--
lib/p2pd/src/NetworkInterfaces.c | 11 ++-
lib/pud/src/netTools.c | 5 +-
lib/quagga/src/plugin.c | 3 +-
lib/txtinfo/src/olsrd_plugin.c | 1 +
lib/txtinfo/src/olsrd_txtinfo.c | 26 ++++++-
lib/txtinfo/src/olsrd_txtinfo.h | 1 +
src/gateway.c | 7 +-
src/link_set.c | 37 +++++----
src/parser.c | 27 +++++--
src/unix/ifnet.c | 72 ++++++++++-------
22 files changed, 421 insertions(+), 215 deletions(-)
hooks/post-receive
--
OLSR.org main repository
More information about the Olsr-commit
mailing list