/* -*-c-*-
- *
- * $Id: privconn.c,v 1.2 2003/11/29 20:43:01 mdw Exp $
*
* Making privileged connections
*
* (c) 2003 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fwd' port forwarder.
*
- * `fw' is free software; you can redistribute it and/or modify
+ * `fwd' is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
- * `fw' is distributed in the hope that it will be useful,
+ *
+ * `fwd' is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fwd'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: privconn.c,v $
- * Revision 1.2 2003/11/29 20:43:01 mdw
- * Don't do priv separation if no priv connections to make.
- *
- * Revision 1.1 2003/11/29 20:36:07 mdw
- * Privileged outgoing connections.
- *
- */
-
-/*----- Header files ------------------------------------------------------*/
-
-#include <assert.h>
-#include <errno.h>
-#include <signal.h>
-#include <string.h>
-
-#include <sys/types.h>
-#include <unistd.h>
-
-#include <sys/socket.h>
-#include <arpa/inet.h>
-#include <netinet/in.h>
-
-#include <mLib/conn.h>
-#include <mLib/darray.h>
-#include <mLib/fdflags.h>
-#include <mLib/fdpass.h>
-#include <mLib/report.h>
-#include <mLib/sel.h>
-
-#include "privconn.h"
+#include "fwd.h"
/*----- Data structures ---------------------------------------------------*/