Attention is currently required from: cron2, flichtenheld, plaisthos.
Hello cron2, plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/1668?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review-1 by cron2
Change subject: route: Clarify operator precedence in a & b ? c : d
......................................................................
route: Clarify operator precedence in a & b ? c : d
As suggested by cppcheck.
Change-Id: I5c9b54dca0a14688a3bb7798cb086f5bde7311b8
Signed-off-by: Frank Lichtenheld <[email protected]>
---
M src/openvpn/route.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1668/3
diff --git a/src/openvpn/route.c b/src/openvpn/route.c
index 3b18f74..81ce867 100644
--- a/src/openvpn/route.c
+++ b/src/openvpn/route.c
@@ -2884,7 +2884,7 @@
.prefix.ipv4.s_addr = htonl(r->network),
.gateway.ipv4.s_addr = htonl(r->gateway),
.iface = { .index = if_index, .name = "" },
- .metric = (r->flags & RT_METRIC_DEFINED ?
r->metric : -1) };
+ .metric = (r->flags & RT_METRIC_DEFINED) ?
r->metric : -1 };
netmask_to_netbits(r->network, r->netmask, &msg.prefix_len);
if (msg.prefix_len == -1)
@@ -2986,7 +2986,7 @@
.prefix_len = r->netbits,
.gateway.ipv6 = r->gateway,
.iface = { .index = tt->adapter_index, .name = ""
},
- .metric = ((r->flags & RT_METRIC_DEFINED) ?
r->metric : -1) };
+ .metric = (r->flags & RT_METRIC_DEFINED) ?
r->metric : -1 };
if (r->adapter_index) /* vpn server special route */
{
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1668?usp=email
To unsubscribe, or for help writing mail filters, visit
http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5c9b54dca0a14688a3bb7798cb086f5bde7311b8
Gerrit-Change-Number: 1668
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <[email protected]>
Gerrit-Reviewer: cron2 <[email protected]>
Gerrit-Reviewer: plaisthos <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]>
Gerrit-Attention: cron2 <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel