mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +00:00
fix import
This commit is contained in:
parent
fe7c06c550
commit
22b6faad79
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"nfsense.net/nfsense/internal/definitions"
|
"nfsense.net/nfsense/internal/definitions/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GenerateNfTablesFile(conf definitions.Config) (string, error) {
|
func GenerateNfTablesFile(conf config.Config) (string, error) {
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
err := templates.ExecuteTemplate(buf, "nftables.tmpl", conf)
|
err := templates.ExecuteTemplate(buf, "nftables.tmpl", conf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue