mirror of
https://github.com/rancher/os.git
synced 2025-09-09 10:40:30 +00:00
migrate to upstream libcompose in one and a half go
This commit is contained in:
9
vendor/github.com/vishvananda/netlink/nl/route_linux.go
generated
vendored
9
vendor/github.com/vishvananda/netlink/nl/route_linux.go
generated
vendored
@@ -20,6 +20,15 @@ func NewRtMsg() *RtMsg {
|
||||
}
|
||||
}
|
||||
|
||||
func NewRtDelMsg() *RtMsg {
|
||||
return &RtMsg{
|
||||
RtMsg: syscall.RtMsg{
|
||||
Table: syscall.RT_TABLE_MAIN,
|
||||
Scope: syscall.RT_SCOPE_NOWHERE,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func (msg *RtMsg) Len() int {
|
||||
return syscall.SizeofRtMsg
|
||||
}
|
||||
|
Reference in New Issue
Block a user