-/* $OpenBSD: parse.y,v 1.118 2008/07/17 16:28:07 reyk Exp $ */
+/* $OpenBSD: parse.y,v 1.119 2008/07/17 16:41:06 reyk Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
}
if (!(rdr->conf.flags & F_DISABLE))
rdr->conf.flags |= F_ADD;
- TAILQ_INSERT_HEAD(conf->sc_rdrs, rdr, entry);
+ TAILQ_INSERT_TAIL(conf->sc_rdrs, rdr, entry);
tableport = 0;
rdr = NULL;
}
YYERROR;
}
- TAILQ_INSERT_HEAD(conf->sc_protos, proto, entry);
+ TAILQ_INSERT_TAIL(conf->sc_protos, proto, entry);
}
;
}
conf->sc_relaycount++;
SPLAY_INIT(&rlay->rl_sessions);
- TAILQ_INSERT_HEAD(conf->sc_relays, rlay, rl_entry);
+ TAILQ_INSERT_TAIL(conf->sc_relays, rlay, rl_entry);
tableport = 0;
rlay = NULL;
}
}
conf->sc_tablecount++;
- TAILQ_INSERT_HEAD(conf->sc_tables, tb, entry);
+ TAILQ_INSERT_TAIL(conf->sc_tables, tb, entry);
return (tb);
}