diff options
| author | David Lamparter <equinox@diac24.net> | 2012-04-11 23:52:46 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-28 01:21:43 +0200 | 
| commit | 09a484dd1d27580d98c4b94d3ed77e47d7aac0b5 (patch) | |
| tree | ac178c846ddabfe4d6c80d5f6b5f4ba6025bbea2 /lib/nexthop.h | |
| parent | 3df31ebb0328b4b84fa11d5fbd956dcc30c44dfe (diff) | |
*: remove ZEBRA_FLAG_{BLACKHOLE,REJECT} from API
FLAG_BLACKHOLE is used for different things in different places. remove
it from the zclient API, instead indicate blackholes as proper nexthops
inside the message.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/nexthop.h')
| -rw-r--r-- | lib/nexthop.h | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index e7804379f1..12a1203a8f 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -43,6 +43,13 @@ enum nexthop_types_t {  	NEXTHOP_TYPE_BLACKHOLE,    /* Null0 nexthop.  */  }; +enum blackhole_type { +	BLACKHOLE_UNSPEC = 0, +	BLACKHOLE_NULL, +	BLACKHOLE_REJECT, +	BLACKHOLE_ADMINPROHIB, +}; +  /* Nexthop label structure. */  struct nexthop_label {  	u_int8_t num_labels;  | 
