diff options
author | ume <ume@FreeBSD.org> | 2003-10-07 17:46:18 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-07 17:46:18 +0000 |
commit | 399a4e7221768809ef6b40116b578c0cced268a9 (patch) | |
tree | 3cc89155a594674c2f777974984a97f8aaeac711 /sys/netinet6/esp_output.c | |
parent | 54458dd4e1a2d2e4ac10f5c8bfd60d24c8c1a359 (diff) | |
download | FreeBSD-src-399a4e7221768809ef6b40116b578c0cced268a9.zip FreeBSD-src-399a4e7221768809ef6b40116b578c0cced268a9.tar.gz |
- fix typo in comment.
- style.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/esp_output.c')
-rw-r--r-- | sys/netinet6/esp_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/esp_output.c b/sys/netinet6/esp_output.c index 0365e20..e47476d 100644 --- a/sys/netinet6/esp_output.c +++ b/sys/netinet6/esp_output.c @@ -357,7 +357,7 @@ esp_output(m, nexthdrp, md, isr, af) m->m_pkthdr.len += esphlen; esp = mtod(md, struct esp *); } - + nxt = *nexthdrp; *nexthdrp = IPPROTO_ESP; switch (af) { @@ -426,7 +426,7 @@ esp_output(m, nexthdrp, md, isr, af) /* ESP packet, including nxthdr field, must be length of 4n */ if (padbound < 4) padbound = 4; - + extendsiz = padbound - (plen % padbound); if (extendsiz == 1) extendsiz = padbound + 1; |