Page MenuHomeFreeBSD

rtadvd: Fix RA flag inconsistency messages
ClosedPublic

Authored by pouria on Wed, Aug 5, 8:52 AM.
Tags
None
Referenced Files
F169789404: D58672.id183440.diff
Wed, Sep 2, 2:00 PM
Unknown Object (File)
Wed, Sep 2, 3:12 AM
Unknown Object (File)
Tue, Sep 1, 11:28 PM
Unknown Object (File)
Tue, Sep 1, 9:05 PM
Unknown Object (File)
Tue, Sep 1, 8:03 PM
Unknown Object (File)
Tue, Sep 1, 4:56 PM
Unknown Object (File)
Tue, Sep 1, 2:22 PM
Unknown Object (File)
Tue, Sep 1, 12:58 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 75390
Build 72273: 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.