apps/system/utils: Fix coding rule issue in ping command.
Fix coding rule issue.
#define ICMP_HDR_SIZE sizeof(struct ip_hdr) + sizeof(struct icmp_echo_hdr)
#ifdef CONFIG_NET_IPv6
#define ICMP6_HDR_SIZE sizeof(struct ip6_hdr) + sizeof(struct icmp6_echo_hdr)
-#define PING_SIZE(proto) ((proto == IPPROTO_ICMPV6) ? ICMP6_HDR_SIZE : ICMP_HDR_SIZE )
+#define PING_SIZE(proto) (((proto) == IPPROTO_ICMPV6) ? ICMP6_HDR_SIZE : ICMP_HDR_SIZE)
#else
#define PING_SIZE(proto) (ICMP_HDR_SIZE + 32)
#endif
