|
@@ -439,6 +439,10 @@ func assembleDestination(attrs []syscall.NetlinkRouteAttr) (*Destination, error)
|
|
|
d.LowerThreshold = native.Uint32(attr.Value)
|
|
|
case ipvsDestAttrAddressFamily:
|
|
|
d.AddressFamily = native.Uint16(attr.Value)
|
|
|
+ case ipvsDestAttrActiveConnections:
|
|
|
+ d.ActiveConnections = int(native.Uint16(attr.Value))
|
|
|
+ case ipvsDestAttrInactiveConnections:
|
|
|
+ d.InactiveConnections = int(native.Uint16(attr.Value))
|
|
|
}
|
|
|
}
|
|
|
return &d, nil
|