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
Unknown Object (File)
Sun, May 12, 2:03 PM
Unknown Object (File)
Sat, May 11, 1:10 AM
Unknown Object (File)
Feb 11 2024, 3:06 AM
Unknown Object (File)
Dec 27 2023, 5:37 PM
Unknown Object (File)
Dec 27 2023, 5:10 PM
Unknown Object (File)
Dec 20 2023, 12:09 AM
Unknown Object (File)
Dec 9 2023, 5:37 PM
Unknown Object (File)
Oct 25 2023, 4:30 PM
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.