X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Fcommon.go;h=56b0f696527231738a49f1eae7f15988327f76fa;hb=c259296effa4a44103dcac563c6f7e30e436bb34;hp=b2dab9e3db3c7bff5e6f9bef586e1a51429d371d;hpb=9f7abcad309afd709a1f16cdf961837bb9510036;p=govpn.git diff --git a/src/cypherpunks.ru/govpn/common.go b/src/cypherpunks.ru/govpn/common.go index b2dab9e..56b0f69 100644 --- a/src/cypherpunks.ru/govpn/common.go +++ b/src/cypherpunks.ru/govpn/common.go @@ -28,9 +28,9 @@ import ( const ( TimeoutDefault = 60 EtherSize = 14 - // MTUMax is maximum MTU size of ethernet packet + // MTUMax is maximum MTU size of Ethernet packet MTUMax = 9000 + EtherSize + 1 - // MTUDefault is default MTU size of ethernet packet + // MTUDefault is default MTU size of Ethernet packet MTUDefault = 1500 + EtherSize + 1 ENV_IFACE = "GOVPN_IFACE" @@ -38,11 +38,11 @@ const ( ) var ( - // Version hold release string set at build time + // Version holds release string set at build time Version string ) -// ScriptCall call external program/script. +// ScriptCall calls external program/script. // You have to specify path to it and (inteface name as a rule) something // that will be the first argument when calling it. Function will return // it's output and possible error.