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)
Mon, Jan 6, 6:13 AM
Unknown Object (File)
Dec 11 2024, 5:18 AM
Unknown Object (File)
Nov 24 2024, 9:18 AM
Unknown Object (File)
Nov 19 2024, 11:35 AM
Unknown Object (File)
Oct 15 2024, 6:45 AM
Unknown Object (File)
Sep 27 2024, 6:23 AM
Unknown Object (File)
Sep 26 2024, 5:03 AM
Unknown Object (File)
Sep 25 2024, 3: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 Skipped
Unit
Tests Skipped

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.