diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-10-09 14:10:20 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-09 14:14:00 +0200 |
commit | bfa514575764378008ef87e7bb0f15022ab02364 (patch) | |
tree | 564826e018ad4b5d4af07043ed9ce72bfabcc60e /isisd/isis_circuit.h | |
parent | Merge pull request #7266 from idryzhov/isis-fixes (diff) | |
download | frr-bfa514575764378008ef87e7bb0f15022ab02364.tar.xz frr-bfa514575764378008ef87e7bb0f15022ab02364.zip |
isisd: Always set `circuit->isis` on creation
There are code paths where we were not always setting the
circuit->isis on creation. Fix that up so it will always
happen.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'isisd/isis_circuit.h')
-rw-r--r-- | isisd/isis_circuit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_circuit.h b/isisd/isis_circuit.h index ec5d738ce..48afd24b6 100644 --- a/isisd/isis_circuit.h +++ b/isisd/isis_circuit.h @@ -164,7 +164,7 @@ struct isis_circuit { DECLARE_QOBJ_TYPE(isis_circuit) void isis_circuit_init(void); -struct isis_circuit *isis_circuit_new(void); +struct isis_circuit *isis_circuit_new(struct isis *isis); void isis_circuit_del(struct isis_circuit *circuit); struct isis_circuit *circuit_lookup_by_ifp(struct interface *ifp, struct list *list); |