Page MenuHomeFreeBSD

rtadvd: Fix RA flag inconsistency messages
ClosedPublic

Authored by pouria on Wed, Aug 5, 8:52 AM.
Tags
None
Referenced Files
F169145291: D58672.id183440.diff
Mon, Aug 31, 2:12 PM
F169010833: D58672.id183436.diff
Mon, Aug 31, 3:07 AM
F168963453: D58672.id183441.diff
Sun, Aug 30, 11:44 PM
F168922437: D58672.id183465.diff
Sun, Aug 30, 6:56 PM
F168910113: D58672.id.diff
Sun, Aug 30, 5:24 PM
Unknown Object (File)
Sat, Aug 29, 3:03 PM
Unknown Object (File)
Sat, Aug 29, 3:00 PM
Unknown Object (File)
Sat, Aug 29, 2:03 AM
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 75391
Build 72274: 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.Wed, Aug 5, 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.Wed, Aug 5, 2:24 PM
This revision now requires review to proceed.Wed, Aug 5, 2:27 PM
This revision is now accepted and ready to land.Wed, Aug 5, 2:32 PM
This revision was automatically updated to reflect the committed changes.