summaryrefslogtreecommitdiff
path: root/nest/a-path.c
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-09-18 14:21:11 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-09-18 14:21:11 +0200
commitd4cebc6bbe2a55bd344383fcc27255a12d686195 (patch)
treed778709a80ad32d5688dc88f2d7639ac304df7df /nest/a-path.c
parentd50b0bc437f5ffd0d2c9f843217f8ed098c8d675 (diff)
No more warnings ...
no more warnings No more warnings over me And while it is being compiled all the log is black and white Release BIRD now and then let it flee (use the melody of well-known Oh Freedom!)
Diffstat (limited to 'nest/a-path.c')
-rw-r--r--nest/a-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/a-path.c b/nest/a-path.c
index 6bad9747..6f1c40bf 100644
--- a/nest/a-path.c
+++ b/nest/a-path.c
@@ -805,7 +805,7 @@ as_path_match(const struct adata *path, struct f_path_mask *mask)
val2 = val = mask->val;
goto step;
case PM_ASN_EXPR:
- ASSERT(0);
+ bug("Expressions should be evaluated on AS path mask construction.");
case PM_ASN_RANGE:
val = mask->val;
val2 = mask->val2;