Skip to content

Commit

Permalink
Change fail2ban function access modifiers
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Gracioso <[email protected]>
  • Loading branch information
lbgracioso committed Jul 3, 2024
1 parent 1538e85 commit 18c9405
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 7 additions & 2 deletions include/cloysterhpc/services/fail2ban.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
#ifndef CLOYSTERHPC_FAIL2BAN_H_
#define CLOYSTERHPC_FAIL2BAN_H_

#include "IService.h"
#include <cloysterhpc/functions.h>
#include <cloysterhpc/services/IService.h>
#include <cloysterhpc/services/log.h>

class fail2ban : public IService {
private:
void configure() override;

public:
void install() override;
void configure() override;
void enable() override;
void disable() override;
void start() override;
Expand Down
2 changes: 0 additions & 2 deletions src/services/fail2ban.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
*/

#include "cloysterhpc/services/fail2ban.h"
#include "cloysterhpc/functions.h"
#include "cloysterhpc/services/log.h"

void fail2ban::install()
{
Expand Down

0 comments on commit 18c9405

Please sign in to comment.