summaryrefslogtreecommitdiffhomepage
path: root/src/main.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-26 13:14:02 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-26 13:14:02 +0200
commit9d806d3853c926df75e83966d2c4f832708a1b08 (patch)
tree97dd50a56751d5cb48b60353697aa9ccad9a3e14 /src/main.go
parentcf3a5130d3aa53fc56c7c3194ee326d5a1d21970 (diff)
Begin work on outbound packet flow
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.go b/src/main.go
index af336f0..b6f6deb 100644
--- a/src/main.go
+++ b/src/main.go
@@ -1,6 +1,8 @@
package main
-import "fmt"
+import (
+ "fmt"
+)
func main() {
fd, err := CreateTUN("test0")
@@ -8,9 +10,9 @@ func main() {
queue := make(chan []byte, 1000)
- var device Device
+ // var device Device
- go OutgoingRoutingWorker(&device, queue)
+ // go OutgoingRoutingWorker(&device, queue)
for {
tmp := make([]byte, 1<<16)