Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90638
b: refs/heads/master
c: 7f1eced
h: refs/heads/master
v: v3
  • Loading branch information
YOSHIFUJI Hideaki committed Apr 12, 2008
1 parent c557724 commit 4393766
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7aabf22efb50e6d52ed953ed2a43996152a7fb0
refs/heads/master: 7f1eced8b0a001c4d5a8cfa5ac7b5cbc89fedab8
3 changes: 0 additions & 3 deletions trunk/include/net/mip6.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
#include <linux/skbuff.h>
#include <net/sock.h>

#define MIP6_OPT_PAD_1 0
#define MIP6_OPT_PAD_N 1

/*
* Mobility Header
*/
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv6/mip6.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ static inline void *mip6_padn(__u8 *data, __u8 padlen)
if (!data)
return NULL;
if (padlen == 1) {
data[0] = MIP6_OPT_PAD_1;
data[0] = IPV6_TLV_PAD0;
} else if (padlen > 1) {
data[0] = MIP6_OPT_PAD_N;
data[0] = IPV6_TLV_PADN;
data[1] = padlen - 2;
if (padlen > 2)
memset(data+2, 0, data[1]);
Expand Down

0 comments on commit 4393766

Please sign in to comment.