diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-02 23:49:57 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-02 23:54:22 -0500 |
commit | 57d8f5198b6ad55160da1ed0ccc059a7cede1a88 (patch) | |
tree | 4c1d2006a7eb250045623357476b43e2a10f4e4a /network/pptp/routing.c.patch | |
parent | 2d8947e8d588b62183e6f003c2306bc4b5ed960b (diff) |
network/pptp: Updated for version 1.8.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/pptp/routing.c.patch')
-rw-r--r-- | network/pptp/routing.c.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/network/pptp/routing.c.patch b/network/pptp/routing.c.patch deleted file mode 100644 index 45d2ca9c03..0000000000 --- a/network/pptp/routing.c.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/routing.c.ORIG 2008-05-14 08:33:55.000000000 +0200 -+++ a/routing.c 2009-07-29 23:37:03.196933022 +0200 -@@ -55,7 +55,7 @@ regardless (not yet implemented). - - void routing_init(char *ip) { - char buf[256]; -- snprintf(buf, 255, "/bin/ip route get %s", ip); -+ snprintf(buf, 255, "/sbin/ip route get %s", ip); - FILE *p = popen(buf, "r"); - fgets(buf, 255, p); - /* TODO: check for failure of fgets */ -@@ -66,14 +66,14 @@ void routing_init(char *ip) { - - void routing_start() { - char buf[256]; -- snprintf(buf, 255, "/bin/ip route replace %s", route); -+ snprintf(buf, 255, "/sbin/ip route replace %s", route); - FILE *p = popen(buf, "r"); - pclose(p); - } - - void routing_end() { - char buf[256]; -- snprintf(buf, 255, "/bin/ip route delete %s", route); -+ snprintf(buf, 255, "/sbin/ip route delete %s", route); - FILE *p = popen(buf, "r"); - pclose(p); - } |