Skip to content

Commit

Permalink
Merge pull request #12328 from mihalicyn/fix_nft_version_descr
Browse files Browse the repository at this point in the history
firewall: fix nftables hostVersion() description
  • Loading branch information
tomponline authored Sep 27, 2023
2 parents 6d8dc96 + fb7c9fa commit 0ccf5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd/firewall/drivers/drivers_nftables.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (d Nftables) nftParseRuleset() ([]nftGenericItem, error) {
return items, nil
}

// GetVersion returns the version of dnsmasq.
// GetVersion returns the version of nftables.
func (d Nftables) hostVersion() (*version.DottedVersion, error) {
output, err := shared.RunCommandCLocale("nft", "--version")
if err != nil {
Expand Down

0 comments on commit 0ccf5f2

Please sign in to comment.