Page MenuHomeFreeBSD

rtadvd: Fix RA flag inconsistency messages
ClosedPublic

Authored by pouria on Aug 5 2026, 8:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 19, 10:42 AM
Unknown Object (File)
Fri, Sep 18, 11:39 AM
Unknown Object (File)
Fri, Sep 18, 2:04 AM
Unknown Object (File)
Wed, Sep 16, 10:03 PM
Unknown Object (File)
Tue, Sep 15, 7:20 PM
Unknown Object (File)
Tue, Sep 15, 1:19 AM
Unknown Object (File)
Mon, Sep 14, 1:33 PM
Unknown Object (File)
Sun, Sep 13, 6:08 PM
Subscribers

Details

Summary

During flag inconsistency report, we handle rai->rai_otherflg
as a bool, but the value is 0x40. Make it a simple number comparison.

PR: 295995

Diff Detail

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

Event Timeline

pouria held this revision as a draft.
usr.sbin/rtadvd/rtadvd.c
1143
1154
pouria marked 2 inline comments as done.

Address @kfv_kfv.io comment. What an aweful mistake :D. Now it should be ready to review. Thanks!

pouria published this revision for review.Aug 5 2026, 2:22 PM
markj added inline comments.
usr.sbin/rtadvd/rtadvd.c
1141

No need for parentheses here or below.

This revision is now accepted and ready to land.Aug 5 2026, 2:24 PM
This revision now requires review to proceed.Aug 5 2026, 2:27 PM
This revision is now accepted and ready to land.Aug 5 2026, 2:32 PM
This revision was automatically updated to reflect the committed changes.