diff options
author | Sven Eckelmann <sven@narfation.org> | 2015-04-23 18:22:24 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2015-06-07 17:07:19 +0200 |
commit | a2f2b6cd41f5b4f8b5b7914e4e52e4954f631dd2 (patch) | |
tree | 8652c1850c509bad706fa3a01f5778c4249eafa8 /net/batman-adv/bat_iv_ogm.c | |
parent | 1e2c2a4fe4a52cc55a78727778119f9a74283b8a (diff) | |
download | linux-a2f2b6cd41f5b4f8b5b7914e4e52e4954f631dd2.tar.gz linux-a2f2b6cd41f5b4f8b5b7914e4e52e4954f631dd2.tar.bz2 linux-a2f2b6cd41f5b4f8b5b7914e4e52e4954f631dd2.zip |
batman-adv: Clarify calculation precedence for '&' and '?'
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
-rw-r--r-- | net/batman-adv/bat_iv_ogm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index 9adbc61c217e..753383c2215c 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c @@ -479,7 +479,7 @@ static void batadv_iv_ogm_send_to_if(struct batadv_forw_packet *forw_packet, batadv_ogm_packet->orig, ntohl(batadv_ogm_packet->seqno), batadv_ogm_packet->tq, batadv_ogm_packet->ttl, - (batadv_ogm_packet->flags & BATADV_DIRECTLINK ? + ((batadv_ogm_packet->flags & BATADV_DIRECTLINK) ? "on" : "off"), hard_iface->net_dev->name, hard_iface->net_dev->dev_addr); |