Page MenuHomeFreeBSD

rtadvd: Fix RA flag inconsistency messages
ClosedPublic

Authored by pouria on Aug 5 2026, 8:52 AM.
Tags
None
Referenced Files
F170557946: D58672.id183436.diff
Sat, Sep 5, 9:57 AM
F170444450: D58672.id183436.diff
Fri, Sep 4, 8:52 PM
F170395094: D58672.id183440.diff
Fri, Sep 4, 3:08 PM
Unknown Object (File)
Fri, Sep 4, 1:01 PM
Unknown Object (File)
Fri, Sep 4, 3:50 AM
Unknown Object (File)
Thu, Sep 3, 11:57 PM
Unknown Object (File)
Thu, Sep 3, 7:54 PM
Unknown Object (File)
Thu, Sep 3, 2:17 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75392
Build 72275: arc lint + arc unit

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.