mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Print strict source routing option.
Reviewed by: silence on -net Proposed by: David Wang <dsw@juniper.net>
This commit is contained in:
parent
4224228e15
commit
cb75aca7cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109730
@ -953,7 +953,9 @@ pr_pack(buf, cc, from, tv)
|
||||
hlen = 0;
|
||||
break;
|
||||
case IPOPT_LSRR:
|
||||
(void)printf("\nLSRR: ");
|
||||
case IPOPT_SSRR:
|
||||
(void)printf(*cp == IPOPT_LSRR ?
|
||||
"\nLSRR: " : "\nSSRR: ");
|
||||
j = cp[IPOPT_OLEN] - IPOPT_MINOFF + 1;
|
||||
hlen -= 2;
|
||||
cp += 2;
|
||||
|
Loading…
Reference in New Issue
Block a user