diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-24 10:37:23 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:38 -0400 | 
| commit | 2002dcdb94aa9d71bd6389687e52047e19585e51 (patch) | |
| tree | ce45fec04905820897d97f11d1714b8853d4a055 /pimd/pim_upstream.h | |
| parent | bc14b6c7a4136d6f4df3a0f7dc2b82569e112846 (diff) | |
pimd: Cleanup some basic crashes from mistakes made converting to vrf
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_upstream.h')
| -rw-r--r-- | pimd/pim_upstream.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_upstream.h b/pimd/pim_upstream.h index a9d84bb9b4..3be1de70ad 100644 --- a/pimd/pim_upstream.h +++ b/pimd/pim_upstream.h @@ -143,7 +143,8 @@ struct pim_upstream *pim_upstream_find(struct pim_instance *pim,  struct pim_upstream *pim_upstream_find_or_add(struct prefix_sg *sg,  					      struct interface *ifp, int flags,  					      const char *name); -struct pim_upstream *pim_upstream_add(struct prefix_sg *sg, +struct pim_upstream *pim_upstream_add(struct pim_instance *pim, +				      struct prefix_sg *sg,  				      struct interface *ifp, int flags,  				      const char *name);  void pim_upstream_ref(struct pim_upstream *up, int flags, const char *name);  | 
