MCPcopy
hub / github.com/osrg/gobgp / SendHello

Method SendHello

pkg/zebra/zapi.go:1560–1568  ·  view source on GitHub ↗

SendHello sends HELLO message to zebra daemon.

()

Source from the content-addressed store, hash-verified

1558
1559// SendHello sends HELLO message to zebra daemon.
1560func (c *Client) SendHello() {
1561 if c.redistDefault > 0 {
1562 body := &HelloBody{
1563 redistDefault: c.redistDefault,
1564 instance: 0,
1565 }
1566 c.sendCommand(Hello, DefaultVrf, body)
1567 }
1568}
1569
1570// SendRouterIDAdd sends ROUTER_ID_ADD message to zebra daemon.
1571func (c *Client) SendRouterIDAdd() {

Callers 1

NewClientFunction · 0.95

Calls 1

sendCommandMethod · 0.95

Tested by

no test coverage detected