(command APIType, vrfID uint32, body Body)
| 1543 | } |
| 1544 | |
| 1545 | func (c *Client) sendCommand(command APIType, vrfID uint32, body Body) { |
| 1546 | m := &Message{ |
| 1547 | Header: Header{ |
| 1548 | Len: HeaderSize(c.Version), |
| 1549 | Marker: HeaderMarker(c.Version), |
| 1550 | Version: c.Version, |
| 1551 | VrfID: vrfID, |
| 1552 | Command: command.ToEach(c.Version, c.Software), |
| 1553 | }, |
| 1554 | Body: body, |
| 1555 | } |
| 1556 | c.send(m) |
| 1557 | } |
| 1558 | |
| 1559 | // SendHello sends HELLO message to zebra daemon. |
| 1560 | func (c *Client) SendHello() { |
no test coverage detected