return 0;
return (0);
ipsecctl_commit(struct ipsecctl *ipsec){	struct ipsec_rule *rp;	if (pfkey_init() == -1)		errx(1, "failed to open PF_KEY socket");	while ((rp = TAILQ_FIRST(&ipsec->rule_queue))) {		TAILQ_REMOVE(&ipsec->rule_queue, rp, entries);		if (pfkey_ipsec_establish(rp) == -1)			warnx("failed to add rule %d", rp->nr);		free(rp->src);		free(rp->dst);		free(rp->peer);		if (rp->auth.srcid)			free(rp->auth.srcid);		if (rp->auth.dstid)			free(rp->auth.dstid);		free(rp);	}	return 0;}