Bug 219619 - bad description for function /usr/src/sys/netinet6/scope6.c:in6_splitscope()
Summary: bad description for function /usr/src/sys/netinet6/scope6.c:in6_splitscope()
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-28 19:47 UTC by Alexandre Fenyo
Modified: 2017-05-30 23:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Fenyo 2017-05-28 19:47:00 UTC
Very minor bug from at least FreeBSD 10.x, to FreeBSD 11 and CURRENT (12.x):

function in6_splitscope() in /usr/src/sys/netinet6/scope6.c has the following description:

/*
 * Extracts scope from adddress @dst, stores cleared address
 * inside @dst and zone inside @scopeid
 */

But it should be:

/*
 * Extracts scope from adddress @src, stores cleared address
 * inside @dst and zone inside @scopeid
 */

Sincerely,