]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_attr.c
[bgpd] Use defines for default weight
authorPaul Jakma <paul.jakma@sun.com>
Sun, 29 Apr 2007 18:31:07 +0000 (18:31 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Sun, 29 Apr 2007 18:31:07 +0000 (18:31 +0000)
commit03e214c87bf4537576d2c7e9b2d812d1b0da2f56
tree46f53f23bc77af0c8e6835853fbc355c3c342ddf
parent923de654c8d251d6714a6f9da2e93c236e935042
[bgpd] Use defines for default weight

2007-04-22 Sebastien Tandel <sebastien@tandel.be>

* bgp_attr.h : Definition of BGP_ATTR_DEFAULT_WEIGHT.
* bgp_attr.c : (bgp_attr_default_intern) now uses
  bgp_attr_default_set instead of duplicating the same code.
  (general) Use of BGP_ATTR_DEFAULT_WEIGHT. Replace two 16 by
  IPV6_MAX_BYTELEN.
bgpd/ChangeLog
bgpd/bgp_attr.c
bgpd/bgp_attr.h