Skip to content

refactor(supervisor_config): include radius_config - #449

Merged
aloisklink merged 2 commits into
mainfrom
refactor/include-radius_config-in-supervisor_config
Feb 28, 2023
Merged

refactor(supervisor_config): include radius_config#449
aloisklink merged 2 commits into
mainfrom
refactor/include-radius_config-in-supervisor_config

Conversation

@aloisklink

Copy link
Copy Markdown
Contributor

Warning This PR is based on the follow PRs. Please merge those PRs first before reviewing this PR.

Add an #include "../radius/radius_config.h" to supervisor_config.h.

This file uses the struct radius_conf type since 24c49d5, which is defined in ../radius/radius_config.h, so we should include that file directly.


This was changed in 2704b75#diff-c92e4b6dccbcdfb60672a8b00773227eddcc9c4ba6ee87a3ac46dcef04b41b4cR19, but I'm not 100% sure why.

I think @mereacre did it because there's struct radius_conf in this file, so that's what I've stuck in this PR/commit description (if I'm wrong, let me know @mereacre).

Add an `#include "../radius/radius_config.h"` to `supervisor_config.h`.

This file uses the `struct radius_conf` type since
24c49d5 (wip: ap event manager, 2021-09-07), but never directly
included the file that defines `struct radius_conf`.

See
24c49d5

Co-authored-by: Alexandru Mereacre <mereacre@gmail.com>
@aloisklink aloisklink added the refactor Refactoring code label Feb 21, 2023
@aloisklink aloisklink added this to the RADIUS ERP Server milestone Feb 21, 2023
@aloisklink aloisklink mentioned this pull request Feb 21, 2023
@codecov

codecov Bot commented Feb 21, 2023

Copy link
Copy Markdown

Codecov Report

Merging #449 (67c6695) into main (cc3625c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #449   +/-   ##
=======================================
  Coverage   53.08%   53.08%           
=======================================
  Files         144      144           
  Lines       19871    19871           
=======================================
  Hits        10548    10548           
  Misses       9323     9323           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mereacre

Copy link
Copy Markdown
Contributor

I think I had some issue with recursive definitions. But as long as it compiles fine, shouldn't be no problem.

@aloisklink
aloisklink marked this pull request as ready for review February 24, 2023 10:30
@aloisklink
aloisklink enabled auto-merge February 24, 2023 10:30
@mereacre
mereacre self-requested a review February 28, 2023 09:48
@aloisklink
aloisklink added this pull request to the merge queue Feb 28, 2023
Merged via the queue into main with commit ff35b4d Feb 28, 2023
@aloisklink
aloisklink deleted the refactor/include-radius_config-in-supervisor_config branch February 28, 2023 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants