summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-08-13 19:52:57 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit633fc9b133b73aee6c828b20339ce0762664e3f0 (patch)
tree066e1eddfd84dbc9fef25fb9a9701969e30851a2 /pimd/pim_mroute.c
parentzebra: fix warnings from frr_elevate_privs() (diff)
downloadfrr-633fc9b133b73aee6c828b20339ce0762664e3f0.tar.xz
frr-633fc9b133b73aee6c828b20339ce0762664e3f0.zip
*: frr_elevate_privs whitespace fixes
(... and one superfluous variable removed) Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index d3f13b38e..c69e2939e 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -717,8 +717,8 @@ int pim_mroute_socket_enable(struct pim_instance *pim)
#ifdef SO_BINDTODEVICE
if (pim->vrf->vrf_id != VRF_DEFAULT
- && setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, pim->vrf->name,
- strlen(pim->vrf->name))) {
+ && setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE,
+ pim->vrf->name, strlen(pim->vrf->name))) {
zlog_warn("Could not setsockopt SO_BINDTODEVICE: %s",
safe_strerror(errno));
close(fd);