mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:03:07 +00:00
Merge pull request #16677 from donaldsharp/mgmt_map
mgmtd: Ensure map is NULL
This commit is contained in:
commit
04b763bcec
@ -249,6 +249,8 @@ static void mgmt_register_client_xpath(enum mgmt_be_client_id id,
|
|||||||
{
|
{
|
||||||
struct mgmt_be_xpath_map **maps, *map;
|
struct mgmt_be_xpath_map **maps, *map;
|
||||||
|
|
||||||
|
maps = NULL;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case MGMT_BE_XPATH_SUBSCR_TYPE_CFG:
|
case MGMT_BE_XPATH_SUBSCR_TYPE_CFG:
|
||||||
maps = &be_cfg_xpath_map;
|
maps = &be_cfg_xpath_map;
|
||||||
|
Loading…
Reference in New Issue
Block a user