diff options
author | Brian Haley <brian.haley@hp.com> | 2008-09-16 11:11:11 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-09-17 10:13:17 +1000 |
commit | d286600e199aa2f1058a1f883d234e73626304d2 (patch) | |
tree | a84436fb4b5d5fa62810bce573125a21db785970 /net/ipv4/ipvs/ip_vs_proto.c | |
parent | 563e94f072714657a82a59a3bf81a719a6a25591 (diff) | |
download | op-kernel-dev-d286600e199aa2f1058a1f883d234e73626304d2.zip op-kernel-dev-d286600e199aa2f1058a1f883d234e73626304d2.tar.gz |
ipvs: change some __constant_htons() to htons()
Change __contant_htons() to htons() in the IPVS code when not in an
initializer.
-Brian
Signed-off-by: Brian Haley <brian.haley@hp.com>
Acked-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_proto.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_proto.c b/net/ipv4/ipvs/ip_vs_proto.c index b06da1c..0791f9e 100644 --- a/net/ipv4/ipvs/ip_vs_proto.c +++ b/net/ipv4/ipvs/ip_vs_proto.c @@ -237,7 +237,7 @@ ip_vs_tcpudp_debug_packet(struct ip_vs_protocol *pp, const char *msg) { #ifdef CONFIG_IP_VS_IPV6 - if (skb->protocol == __constant_htons(ETH_P_IPV6)) + if (skb->protocol == htons(ETH_P_IPV6)) ip_vs_tcpudp_debug_packet_v6(pp, skb, offset, msg); else #endif |