]> Cypherpunks.ru repositories - govpn.git/blob - tap_linux.go
Ability to call up and down scripts
[govpn.git] / tap_linux.go
1 // +build linux
2
3 /*
4 govpn -- high-performance secure virtual private network daemon
5 Copyright (C) 2014 Sergey Matveev <stargrave@stargrave.org>
6 */
7 package main
8
9 import (
10         "github.com/chon219/water"
11 )
12
13 func NewTAP(string ifaceName) TAP {
14         iface, err := water.NewTAP(ifaceName)
15         if err != nil {
16                 panic(err)
17         }
18         return iface
19 }