feat: add new interface method to firewals
All checks were successful
build / build (push) Successful in 3m9s
All checks were successful
build / build (push) Successful in 3m9s
This commit is contained in:
@@ -56,6 +56,14 @@ func (u *Ufw) Unban(ip string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (u *Ufw) PortOpen(port int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (u *Ufw) PortClose(port int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (u *Ufw) Setup(config string) error {
|
||||
if config != "" {
|
||||
fmt.Printf("Ufw dont support config file\n")
|
||||
|
||||
Reference in New Issue
Block a user