-/* $OpenBSD: pfkey.c,v 1.64 2022/06/15 16:00:37 claudio Exp $ */
+/* $OpenBSD: pfkey.c,v 1.65 2022/06/16 09:51:07 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
fail:
- log_peer_warn(&p->conf, "%s: failed to insert md5sig", __func__);
+ log_peer_warn(&p->conf, "failed to insert md5sig");
return (-1);
}
return (0);
fail:
- log_peer_warn(&p->conf, "%s: failed to remove md5sig", __func__);
+ log_peer_warn(&p->conf, "failed to remove md5sig");
return (-1);
}
return (0);
fail_key:
- log_peer_warn(&p->conf, "%s: failed to insert ipsec key", __func__);
+ log_peer_warn(&p->conf, "failed to insert ipsec key");
return (-1);
fail_flow:
- log_peer_warn(&p->conf, "%s: failed to insert flow", __func__);
+ log_peer_warn(&p->conf, "failed to insert ipsec flow");
return (-1);
}
return (0);
fail_key:
- log_peer_warn(&p->conf, "%s: failed to remove ipsec key", __func__);
+ log_peer_warn(&p->conf, "failed to remove ipsec key");
return (-1);
fail_flow:
- log_peer_warn(&p->conf, "%s: failed to remove flow", __func__);
+ log_peer_warn(&p->conf, "failed to remove ipsec flow");
return (-1);
}