diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-03-07 00:21:20 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:00 -0400 |
commit | b6d9bcb0697e60d5424e2f395fe950f0e22f4418 (patch) | |
tree | 1b918fe0a8507214cd6e0eecfb07d956d7e34c49 /net/sched/cls_rsvp.h | |
parent | 8f05ce91c8b801af106611ad83b1d8d7429b9b46 (diff) |
[NET] SCHED: 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/sched/cls_rsvp.h')
-rw-r--r-- | net/sched/cls_rsvp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_rsvp.h b/net/sched/cls_rsvp.h index 7853621a04cc..b6ac0e287872 100644 --- a/net/sched/cls_rsvp.h +++ b/net/sched/cls_rsvp.h | |||
@@ -160,7 +160,7 @@ restart: | |||
160 | dst = &nhptr->daddr; | 160 | dst = &nhptr->daddr; |
161 | protocol = nhptr->protocol; | 161 | protocol = nhptr->protocol; |
162 | xprt = ((u8*)nhptr) + (nhptr->ihl<<2); | 162 | xprt = ((u8*)nhptr) + (nhptr->ihl<<2); |
163 | if (nhptr->frag_off&__constant_htons(IP_MF|IP_OFFSET)) | 163 | if (nhptr->frag_off & htons(IP_MF|IP_OFFSET)) |
164 | return -1; | 164 | return -1; |
165 | #endif | 165 | #endif |
166 | 166 | ||