diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-12-11 13:51:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:01 -0500 |
commit | b98999dc382a4e59a250f2ac9e32beca668cba0b (patch) | |
tree | a8e5a2b8531eb3bed101fb1afa0109553277634d /net/decnet/dn_route.c | |
parent | 91c5ec3ed184b7ca08314457b6e202e3d2cfb65f (diff) |
[DECNET]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index b712d0b36526..1ae5efcdbd5f 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1551,7 +1551,7 @@ static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void | |||
1551 | kfree_skb(skb); | 1551 | kfree_skb(skb); |
1552 | return -ENODEV; | 1552 | return -ENODEV; |
1553 | } | 1553 | } |
1554 | skb->protocol = __constant_htons(ETH_P_DNA_RT); | 1554 | skb->protocol = htons(ETH_P_DNA_RT); |
1555 | skb->dev = dev; | 1555 | skb->dev = dev; |
1556 | cb->src = fl.fld_src; | 1556 | cb->src = fl.fld_src; |
1557 | cb->dst = fl.fld_dst; | 1557 | cb->dst = fl.fld_dst; |