Skip to content

Commit

Permalink
[client] Don't return error in userspace mode without firewall (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal authored Nov 25, 2024
1 parent 56cecf8 commit 940d0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/firewall/uspfilter/uspfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (m *Manager) DeletePeerRule(rule firewall.Rule) error {
// SetLegacyManagement doesn't need to be implemented for this manager
func (m *Manager) SetLegacyManagement(isLegacy bool) error {
if m.nativeFirewall == nil {
return errRouteNotSupported
return nil
}
return m.nativeFirewall.SetLegacyManagement(isLegacy)
}
Expand Down

0 comments on commit 940d0c4

Please sign in to comment.