diff options
| author | David Lamparter <equinox@diac24.net> | 2018-09-18 16:24:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-18 16:24:10 +0200 |
| commit | b928bc5bcb47bb4bdbf57dc20364e8a3f940731f (patch) | |
| tree | a62c3657a8b3c5f79690304306baeef20632e4b5 /pimd/pim_cmd.c | |
| parent | 3733e1062106ca3d167cdbf691ce62a936066828 (diff) | |
| parent | 85a13586ed7fa718d30f73afb443a48072dcb0d9 (diff) | |
Merge pull request #3042 from donaldsharp/pim_startup
Pim startup for non-integrated config
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 968fc378f0..1f3336811f 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -5766,7 +5766,7 @@ static int pim_cmd_igmp_start(struct vty *vty, struct interface *ifp) pim_ifp = ifp->info; if (!pim_ifp) { - pim_ifp = pim_if_new(ifp, 1 /* igmp=true */, 0 /* pim=false */); + pim_ifp = pim_if_new(ifp, true, false, false); if (!pim_ifp) { vty_out(vty, "Could not enable IGMP on interface %s\n", ifp->name); @@ -6377,7 +6377,7 @@ static int pim_cmd_interface_add(struct interface *ifp) struct pim_interface *pim_ifp = ifp->info; if (!pim_ifp) { - pim_ifp = pim_if_new(ifp, 0 /* igmp=false */, 1 /* pim=true */); + pim_ifp = pim_if_new(ifp, false, true, false); if (!pim_ifp) { return 0; } |
