1d54909333
This only affects vault versions >=1.1.1 because the prior code accidentally relied upon a bug that was fixed in https://github.com/hashicorp/vault/pull/6505 The existing tests should have caught this, but they were using a vendored copy of vault version 0.10.3. This fixes the tests by running an actual copy of vault instead of an in-process copy. This has the added benefit of changing the dependency on vault to just vault/api. Also update VaultProvider to use similar SetIntermediate validation code as the ConsulProvider implementation.
31 lines
616 B
Go
31 lines
616 B
Go
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
// cgo -godefs defs_openbsd.go
|
|
|
|
package ipv4
|
|
|
|
const (
|
|
sysIP_OPTIONS = 0x1
|
|
sysIP_HDRINCL = 0x2
|
|
sysIP_TOS = 0x3
|
|
sysIP_TTL = 0x4
|
|
sysIP_RECVOPTS = 0x5
|
|
sysIP_RECVRETOPTS = 0x6
|
|
sysIP_RECVDSTADDR = 0x7
|
|
sysIP_RETOPTS = 0x8
|
|
sysIP_RECVIF = 0x1e
|
|
sysIP_RECVTTL = 0x1f
|
|
|
|
sysIP_MULTICAST_IF = 0x9
|
|
sysIP_MULTICAST_TTL = 0xa
|
|
sysIP_MULTICAST_LOOP = 0xb
|
|
sysIP_ADD_MEMBERSHIP = 0xc
|
|
sysIP_DROP_MEMBERSHIP = 0xd
|
|
|
|
sizeofIPMreq = 0x8
|
|
)
|
|
|
|
type ipMreq struct {
|
|
Multiaddr [4]byte /* in_addr */
|
|
Interface [4]byte /* in_addr */
|
|
}
|