瀏覽代碼

Fixed imports with new path

Andrea Barberio 7 年之前
父節點
當前提交
c18c21e923
共有 5 個文件被更改,包括 11 次插入11 次删除
  1. 1 1
      client/main.go
  2. 5 5
      main.go
  3. 2 2
      plugins/file/plugin.go
  4. 1 1
      plugins/plugin.go
  5. 2 2
      plugins/server_id/plugin.go

+ 1 - 1
client/main.go

@@ -45,7 +45,7 @@ func main() {
 		LinkLayerAddr: mac,
 	}
 
-	conv, err := c.Exchange("lo", nil, dhcpv6.WithClientID(duid))
+	conv, err := c.Exchange("lo", dhcpv6.WithClientID(duid))
 	for _, p := range conv {
 		log.Print(p.Summary())
 	}

+ 5 - 5
main.go

@@ -6,11 +6,11 @@ import (
 	"net"
 	"time"
 
-	"bitbucket.org/insomniacslk/coredhcp/config"
-	"bitbucket.org/insomniacslk/coredhcp/handler"
-	"bitbucket.org/insomniacslk/coredhcp/plugins"
-	_ "bitbucket.org/insomniacslk/coredhcp/plugins/file"
-	_ "bitbucket.org/insomniacslk/coredhcp/plugins/server_id"
+	"github.com/coredhcp/coredhcp/config"
+	"github.com/coredhcp/coredhcp/handler"
+	"github.com/coredhcp/coredhcp/plugins"
+	_ "github.com/coredhcp/coredhcp/plugins/file"
+	_ "github.com/coredhcp/coredhcp/plugins/server_id"
 	"github.com/insomniacslk/dhcp/dhcpv4"
 	"github.com/insomniacslk/dhcp/dhcpv6"
 )

+ 2 - 2
plugins/file/plugin.go

@@ -9,8 +9,8 @@ import (
 	"net"
 	"strings"
 
-	"bitbucket.org/insomniacslk/coredhcp/handler"
-	"bitbucket.org/insomniacslk/coredhcp/plugins"
+	"github.com/coredhcp/coredhcp/handler"
+	"github.com/coredhcp/coredhcp/plugins"
 	"github.com/insomniacslk/dhcp/dhcpv4"
 	"github.com/insomniacslk/dhcp/dhcpv6"
 )

+ 1 - 1
plugins/plugin.go

@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"log"
 
-	"bitbucket.org/insomniacslk/coredhcp/handler"
+	"github.com/coredhcp/coredhcp/handler"
 )
 
 // Plugin represents a plugin object.

+ 2 - 2
plugins/server_id/plugin.go

@@ -7,8 +7,8 @@ import (
 	"net"
 	"strings"
 
-	"bitbucket.org/insomniacslk/coredhcp/handler"
-	"bitbucket.org/insomniacslk/coredhcp/plugins"
+	"github.com/coredhcp/coredhcp/handler"
+	"github.com/coredhcp/coredhcp/plugins"
 	"github.com/insomniacslk/dhcp/dhcpv4"
 	"github.com/insomniacslk/dhcp/dhcpv6"
 	"github.com/insomniacslk/dhcp/iana"