diff options
author | Geliang Tang | 2020-12-09 15:51:18 -0800 |
---|---|---|
committer | David S. Miller | 2020-12-09 19:02:15 -0800 |
commit | 6eb3d1e350d1d166e6210a2abc310dbee5f03247 (patch) | |
tree | 8689e4da35064c05e70fe8e14c6da5fd03f1faad /net/6lowpan | |
parent | dc528d5bcc2daa00940e034bb9922b65b52b5e60 (diff) |
mptcp: unify ADD_ADDR and echo suboptions writing
There are two differences between ADD_ADDR suboption and ADD_ADDR echo
suboption: The length of the former is 8 octets longer than the length
of the latter. The former's echo-flag is 0, and latter's echo-flag is 1.
This patch added two local variables, len and echo, to unify ADD_ADDR
and ADD_ADDR echo suboptions writing.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions