]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/sockunion.c
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / lib / sockunion.c
index d76c407f5530a6b67837d810ac9816e5c51241e8..af4f41f37ca380ec45a2f11267ef78cff7df7bf4 100644 (file)
@@ -356,7 +356,7 @@ int sockopt_ttl(int family, int sock, int ttl)
  * Which on linux is a no-op since it is enabled by
  * default and on BSD it uses TCP_NOPUSH to do
  * the same thing( which it was not configured to
- * use).  This cleanup of the api occured on 8/1/17
+ * use).  This cleanup of the api occurred on 8/1/17
  * I imagine if after more than 1 year of no-one
  * complaining, and a major upgrade release we
  * can deprecate and remove this function call
@@ -576,8 +576,7 @@ union sockunion *sockunion_getpeername(int fd)
        len = sizeof name;
        ret = getpeername(fd, (struct sockaddr *)&name, &len);
        if (ret < 0) {
-               flog_err(EC_LIB_SOCKET,
-                        "Can't get remote address and port: %s",
+               flog_err(EC_LIB_SOCKET, "Can't get remote address and port: %s",
                         safe_strerror(errno));
                return NULL;
        }