summaryrefslogtreecommitdiff
path: root/ldpd/pfkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/pfkey.c')
-rw-r--r--ldpd/pfkey.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ldpd/pfkey.c b/ldpd/pfkey.c
index 4bea2e1904..ae771cae19 100644
--- a/ldpd/pfkey.c
+++ b/ldpd/pfkey.c
@@ -256,8 +256,7 @@ pfkey_read(int sd, struct sadb_msg *h)
}
/* XXX: Only one message can be outstanding. */
- if (hdr.sadb_msg_seq == sadb_msg_seq &&
- hdr.sadb_msg_pid == pid) {
+ if (hdr.sadb_msg_seq == sadb_msg_seq && hdr.sadb_msg_pid == pid) {
if (h)
*h = hdr;
return (0);
@@ -412,8 +411,7 @@ pfkey_establish(struct nbr *nbr, struct nbr_params *nbrp)
{
switch (nbr->auth.method) {
case AUTH_MD5SIG:
- strlcpy(nbr->auth.md5key, nbrp->auth.md5key,
- sizeof(nbr->auth.md5key));
+ strlcpy(nbr->auth.md5key, nbrp->auth.md5key, sizeof(nbr->auth.md5key));
return pfkey_md5sig_establish(nbr, nbrp);
case AUTH_NONE:
return 0;