]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix build on Solaris
authorRenato Westphal <renatowestphal@gmail.com>
Wed, 24 Aug 2016 15:11:00 +0000 (12:11 -0300)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Wed, 24 Aug 2016 15:17:55 +0000 (11:17 -0400)
commitf43e655ed8d2fae1bf76aa32485cadf4de23be42
treec00f264ea0ccdf16b42fe8cce5bae18f917160d3
parent9c2f85d9cc22c686188accf6fac6eb1ffe353371
bgpd: fix build on Solaris

* Solaris doesn't have u_int64_t, so use uint64_t instead. C99-style
  fixed-width integers should always be preferred to improve portability;

* 's_addr' is a macro on Solaris, so we can't use it as a variable name.
  Rename the 's_addr' variable to 'addr' in the
  bgp_peer_conf_if_to_su_update_v4() function.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/bgp_table.h
bgpd/bgp_updgrp.c
bgpd/bgp_updgrp.h
bgpd/bgp_updgrp_adv.c
bgpd/bgp_vty.c
bgpd/bgpd.c
bgpd/bgpd.h