Page MenuHomeFreeBSD

ibcore: Fix GID sysctl fallback formatting
ClosedPublic

Authored by slavash on Sun, Jul 5, 8:15 AM.
Tags
None
Referenced Files
F163877298: D58042.diff
Sun, Jul 26, 7:46 PM
Unknown Object (File)
Sat, Jul 25, 10:31 PM
Unknown Object (File)
Mon, Jul 20, 12:53 AM
Unknown Object (File)
Sun, Jul 19, 8:47 AM
Unknown Object (File)
Sat, Jul 18, 5:59 AM
Unknown Object (File)
Fri, Jul 17, 5:46 AM
Unknown Object (File)
Fri, Jul 17, 1:06 AM
Unknown Object (File)
Thu, Jul 16, 6:47 PM
Subscribers

Details

Summary

When a GID table entry is empty or not yet present in the cache,
show_port_gid() falls back to printing a zero GID. Use the existing
GID_PRINT_FMT/GID_PRINT_ARGS helpers instead of Linux's %pI6 format,
which FreeBSD printf treats as a pointer followed by "I6".
This makes empty GID sysctl entries consistently report
0000:0000:0000:0000:0000:0000:0000:0000.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sun, Jul 5, 8:35 AM

Please pass the -U999999 argument to the git diff command you used to generate the uploaded patch, for the next time.

Oops, I must have missed this when merging. Thanks!

This revision was automatically updated to reflect the committed changes.