diff options
author | Josh Bailey <joshb@google.com> | 2012-03-21 17:13:39 -0700 |
---|---|---|
committer | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-04-08 01:19:41 -0700 |
commit | 51d4ef832c1e58150325630e25c442866e5a6cf5 (patch) | |
tree | df155c4193531a37f651d4151866f18224f8ca4b /zebra/if_netlink.c | |
parent | 2dd04c5dc8b5a09cce1c251361fa58f26398fd9f (diff) |
zebra: include hardware addr in if up/down messages
Change interface up/down notification messages to also include the
hardware address of the interface. The format of these messages is now
identical to the interface add message -- move the serialization code
to common functions.
* lib/zclient.c: Modify zebra_interface_if_set_value() to also parse
the hardware address. Invoke it from zebra_interface_add_read()
and and zebra_interface_state_read().
* zebra/zserv.c: Add zserv_encode_interface(). Invoke it from
zserv_interface_add(), zserv_interface_delete() and
zserv_interface_update().
Diffstat (limited to 'zebra/if_netlink.c')
0 files changed, 0 insertions, 0 deletions