mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
update module import url
This commit is contained in:
parent
00b5286c42
commit
cb5554dcfe
7 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.con/speatzle/nfsense/pkg/definitions"
|
||||
"nfsense.net/nfsense/pkg/definitions"
|
||||
)
|
||||
|
||||
func GenerateNfTablesFile(conf definitions.Config) (string, error) {
|
||||
|
|
|
@ -3,8 +3,8 @@ package nftables
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.con/speatzle/nfsense/pkg/definitions"
|
||||
"github.con/speatzle/nfsense/pkg/util"
|
||||
"nfsense.net/nfsense/pkg/definitions"
|
||||
"nfsense.net/nfsense/pkg/util"
|
||||
)
|
||||
|
||||
func GenerateMatcher(services map[string]definitions.Service, addresses map[string]definitions.Address, match definitions.Match) (string, error) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package util
|
||||
|
||||
import "github.con/speatzle/nfsense/pkg/definitions"
|
||||
import "nfsense.net/nfsense/pkg/definitions"
|
||||
|
||||
// ResolveBaseAddresses Resolves all groups to their base Addresses
|
||||
func ResolveBaseAddresses(allAddresses map[string]definitions.Address, addressNames []string) []definitions.Address {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package util
|
||||
|
||||
import "github.con/speatzle/nfsense/pkg/definitions"
|
||||
import "nfsense.net/nfsense/pkg/definitions"
|
||||
|
||||
// ResolveBaseServices Resolves all groups to their base Services
|
||||
func ResolveBaseServices(allServices map[string]definitions.Service, serviceNames []string) []definitions.Service {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue