mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge 99d59d171a
into 3dd4d417be
This commit is contained in:
commit
2b3019f9ca
|
@ -323,6 +323,9 @@ static int __send_notification(struct mgmt_be_client *client, const char *xpath,
|
|||
int ret = 0;
|
||||
|
||||
assert(op != NOTIFY_OP_NOTIFICATION || xpath || tree);
|
||||
if (!xpath && !tree){
|
||||
return ret;
|
||||
}
|
||||
debug_be_client("%s: sending %sYANG %snotification: %s", __func__,
|
||||
op == NOTIFY_OP_DS_DELETE ? "delete "
|
||||
: op == NOTIFY_OP_DS_REPLACE ? "replace "
|
||||
|
|
Loading…
Reference in a new issue