summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msdp_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-06 15:23:22 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-06 15:23:22 +0100
commit5e81f5dd1a2dd82ee6aa08f4a9375e4cd83407a0 (patch)
tree1f1d7fa1e9f47f3b7b3d312ed94685b84c781081 /pimd/pim_msdp_socket.c
parentMerge pull request #5920 from qlyoung/fix-srv6-repeated-attr-memleak (diff)
downloadfrr-5e81f5dd1a2dd82ee6aa08f4a9375e4cd83407a0.tar.xz
frr-5e81f5dd1a2dd82ee6aa08f4a9375e4cd83407a0.zip
*: Finish off the __PRETTY_FUNCTION__ to __func__
FINISH IT Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp_socket.c')
-rw-r--r--pimd/pim_msdp_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp_socket.c b/pimd/pim_msdp_socket.c
index 50489ca88..7620cd579 100644
--- a/pimd/pim_msdp_socket.c
+++ b/pimd/pim_msdp_socket.c
@@ -162,14 +162,14 @@ int pim_msdp_sock_listen(struct pim_instance *pim)
if (!ifp) {
flog_err(EC_LIB_INTERFACE,
"%s: Unable to lookup vrf interface: %s",
- __PRETTY_FUNCTION__, pim->vrf->name);
+ __func__, pim->vrf->name);
close(sock);
return -1;
}
if (pim_socket_bind(sock, ifp)) {
flog_err_sys(EC_LIB_SOCKET,
"%s: Unable to bind to socket: %s",
- __PRETTY_FUNCTION__, safe_strerror(errno));
+ __func__, safe_strerror(errno));
close(sock);
return -1;
}