diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2018-11-03 18:03:24 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2018-11-03 18:03:24 +0000 |
commit | a613be5677596b24c0546cd98cd871781e60ab14 (patch) | |
tree | 5bc76005c62c53034a1a51c32c208aba64d4ed65 /usr.sbin/ndp | |
parent | 10f42d244b4ae621c786ab5d1da9bbd47bb3ad42 (diff) | |
download | src-a613be5677596b24c0546cd98cd871781e60ab14.tar.gz src-a613be5677596b24c0546cd98cd871781e60ab14.zip |
Update the "flag" for draft-ietf-6man-ipv6only-flag.
Having the flag named "6" can possibly be a problem for configurations
where parsing strings and numbers can produce ambivalent results.
Rename the "6" flag to the "S"ix (or Silence-IPv4) flag.
Notes
Notes:
svn path=/head/; revision=340098
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r-- | usr.sbin/ndp/ndp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index a006006aab3c..aa40e2775a59 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1097,7 +1097,7 @@ rtrlist() p->flags & ND_RA_FLAG_MANAGED ? "M" : "", p->flags & ND_RA_FLAG_OTHER ? "O" : ""); #ifdef DRAFT_IETF_6MAN_IPV6ONLY_FLAG - printf("%s", p->flags & ND_RA_FLAG_IPV6_ONLY ? "6" : ""); + printf("%s", p->flags & ND_RA_FLAG_IPV6_ONLY ? "S" : ""); #endif rtpref = ((p->flags & ND_RA_FLAG_RTPREF_MASK) >> 3) & 0xff; printf(", pref=%s", rtpref_str[rtpref]); |