diff options
| author | Matthieu Boutier <boutier@pps.univ-paris-diderot.fr> | 2016-09-22 18:11:07 -0300 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-26 10:52:41 -0400 |
| commit | fb23cf4abe0731dce18b8b4cd13d57fcf40d8c5c (patch) | |
| tree | 08b1adebfafebc2e04ec28a600c598081c980504 /lib/distribute.h | |
| parent | 644ed6c5deb1e37b45b978e1d302785be6a25c18 (diff) | |
lib: Make distribute.c accepts both v4 and v6.
distribute.c doesn't allow to manage both v4 and v6 distribute lists. This
patch fix this problem by having 4 DISTRIBUTE* values in the enumeration instead
of two. The code in all daemons using distribute.c is adapted.
Diffstat (limited to 'lib/distribute.h')
| -rw-r--r-- | lib/distribute.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/distribute.h b/lib/distribute.h index a2ffffd5fc..e9625a3548 100644 --- a/lib/distribute.h +++ b/lib/distribute.h @@ -29,8 +29,10 @@ /* Disctirubte list types. */ enum distribute_type { - DISTRIBUTE_IN, - DISTRIBUTE_OUT, + DISTRIBUTE_V4_IN, + DISTRIBUTE_V6_IN, + DISTRIBUTE_V4_OUT, + DISTRIBUTE_V6_OUT, DISTRIBUTE_MAX }; |
