summaryrefslogtreecommitdiffstats
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, 0 insertions, 6 deletions
diff --git a/ldpd/pfkey.c b/ldpd/pfkey.c
index 88a778ccc..a1a79dabf 100644
--- a/ldpd/pfkey.c
+++ b/ldpd/pfkey.c
@@ -418,12 +418,6 @@ pfkey_establish(struct nbr *nbr, struct nbr_params *nbrp)
if (nbrp->auth.method == AUTH_NONE)
return (0);
- /*
- * make sure we keep copies of everything we need to
- * remove SAs and flows later again.
- */
- nbr->auth.method = nbrp->auth.method;
-
switch (nbr->auth.method) {
case AUTH_MD5SIG:
strlcpy(nbr->auth.md5key, nbrp->auth.md5key,