summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-07-12 14:46:06 +0200
committerMaria Matejka <mq@ucw.cz>2022-07-12 14:46:06 +0200
commit1df20989c191353d9c6da4d8679f8cb1ead49f7f (patch)
treea40097fcf4687f1b9d33a3ba794e38898bfbab4f /nest/rt-attr.c
parent44f26c49f966ca842ff9af55468de0b98c44b73e (diff)
Revert "Special table hooks rectified."
This reverts commit 44f26c49f966ca842ff9af55468de0b98c44b73e.
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 77fd3c3b..1bece201 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -1245,7 +1245,8 @@ rta_do_cow(rta *o, linpool *lp)
memcpy(*nhn, nho, nexthop_size(nho));
nhn = &((*nhn)->next);
}
- rta_uncache(r);
+ r->cached = 0;
+ r->uc = 0;
return r;
}