openbsd-ports/net/pptp/patches/patch-pptp_callmgr_c
sthen bcda816348 - remove a patch to zap contents of a file which is already not being
built due to a Makefile patch. From Brad, ok stsp@ (maintainer).

- don't use a header which is only needed because of the unused file,
from/commit req'd by stsp@.

shouldn't affect the package, but bumped for safety.
2010-07-14 11:04:15 +00:00

21 lines
747 B
Plaintext

$OpenBSD: patch-pptp_callmgr_c,v 1.2 2010/07/14 11:04:15 sthen Exp $
--- pptp_callmgr.c.orig Wed May 14 08:33:55 2008
+++ pptp_callmgr.c Tue Jul 13 23:52:46 2010
@@ -25,7 +25,6 @@
#include "dirutil.h"
#include "vector.h"
#include "util.h"
-#include "routing.h"
extern struct in_addr localbind; /* from pptp.c */
@@ -120,8 +119,6 @@ int callmgr_main(int argc, char **argv, char **envp)
phonenr = argc == 3 ? argv[2] : NULL;
if (inet_aton(argv[1], &inetaddr) == 0)
fatal("Invalid IP address: %s", argv[1]);
- routing_init(inet_ntoa(inetaddr));
- routing_start();
/* Step 1: Open sockets. */
if ((inet_sock = open_inetsock(inetaddr)) < 0)
fatal("Could not open control connection to %s", argv[1]);