godep: add dhcp4 and dhcp4client dependencies

This commit is contained in:
Sander van Harmelen
2017-09-07 12:08:41 +02:00
parent 04899f2355
commit f19a51dbb5
18 changed files with 1849 additions and 1 deletions

18
vendor/github.com/d2g/dhcp4client/generatexid.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
package dhcp4client
import (
cryptorand "crypto/rand"
mathrand "math/rand"
)
func CryptoGenerateXID(b []byte) {
if _, err := cryptorand.Read(b); err != nil {
panic(err)
}
}
func MathGenerateXID(b []byte) {
if _, err := mathrand.Read(b); err != nil {
panic(err)
}
}