tipc: refactor multicast ip check
authorRichard Alpe <richard.alpe@ericsson.com>
Fri, 26 Aug 2016 08:52:52 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Aug 2016 04:38:40 +0000 (21:38 -0700)
commit1ca73e3fa12531bbbc854329cd02a887f986a02a
tree39251d32c707cdf6e854832dde6452633aa5e359
parentce984da36e11c1e6db6002ea4f8a4b54e46f45c0
tipc: refactor multicast ip check

Add a function to check if a tipc UDP media address is a multicast
address or not. This is a purely cosmetic change.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c