Page MenuHomeFreeBSD

Remove extra space between point to point links and netmask in ifconfig output
ClosedPublic

Authored by kbowling on Oct 8 2016, 6:16 PM.
Tags
None
Referenced Files
F149711736: D8199.id21189.diff
Thu, Mar 26, 10:28 AM
F149670010: D8199.id21189.diff
Thu, Mar 26, 3:42 AM
Unknown Object (File)
Wed, Mar 25, 3:32 PM
Unknown Object (File)
Wed, Mar 25, 10:19 AM
Unknown Object (File)
Tue, Mar 24, 8:38 AM
Unknown Object (File)
Mon, Mar 23, 6:17 AM
Unknown Object (File)
Sun, Mar 22, 9:20 AM
Unknown Object (File)
Sun, Mar 22, 7:08 AM
Subscribers

Details

Summary

rS301059 introduced a subtle change for point to point interfaces where an extra space is inserted before the netmask. This can cause issues for scripts that parse ifconfig output.

Test Plan

After rS301059:

inet 169.254.2.1 --> 169.254.2.2  netmask 0xfffffffc

With this patch, return to :

inet 169.254.2.1 --> 169.254.2.2 netmask 0xfffffffc

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kbowling retitled this revision from to Remove extra space between point to point links and netmask in ifconfig output.
kbowling updated this object.
kbowling edited the test plan for this revision. (Show Details)
kbowling added reviewers: allanjude, sbruno, gnn.
kbowling set the repository for this revision to rS FreeBSD src repository - subversion.
allanjude edited edge metadata.

Ouch, my bad.

Good catch, sadly this is obviously too late for 11.0 :(

This revision is now accepted and ready to land.Oct 8 2016, 6:29 PM
hiren added a reviewer: hiren.
This revision was automatically updated to reflect the committed changes.