aboutsummaryrefslogtreecommitdiff
path: root/net/eoip/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/eoip/patches')
-rw-r--r--net/eoip/patches/100-add_LF_to_pidfile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/eoip/patches/100-add_LF_to_pidfile.patch b/net/eoip/patches/100-add_LF_to_pidfile.patch
new file mode 100644
index 000000000..bb66d146d
--- /dev/null
+++ b/net/eoip/patches/100-add_LF_to_pidfile.patch
@@ -0,0 +1,11 @@
+--- a/eoip.c 2013-09-25 22:50:48.272763057 +0200
++++ b/eoip.c 2013-09-25 22:51:03.804762840 +0200
+@@ -430,7 +430,7 @@
+ exit(1);
+
+ mfd = fopen(pidfile, "w");
+- fprintf(mfd,"%d", getpid());
++ fprintf(mfd,"%d\n", getpid());
+ fclose(mfd);
+
+ /* structure of Mikrotik EoIP: