mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Note that a descriptor has changed when we receive a new directory.
svn:r4855
This commit is contained in:
parent
0e649ac60a
commit
9a3be928e9
1 changed files with 4 additions and 0 deletions
|
@ -371,6 +371,10 @@ dirserv_add_descriptor(const char **desc, const char **msg)
|
|||
if (router_add_to_routerlist(ri, msg)) {
|
||||
return -1;
|
||||
} else {
|
||||
smartlist_t *changed = smartlist_create();
|
||||
smartlist_add(changed, ri);
|
||||
control_event_descriptors_changed(changed);
|
||||
smartlist_free(changed);
|
||||
return ri->is_verified ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue