Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch to add new line in pid file #1

Open
ansanto opened this issue Sep 30, 2013 · 0 comments
Open

patch to add new line in pid file #1

ansanto opened this issue Sep 30, 2013 · 0 comments

Comments

@ansanto
Copy link
Contributor

ansanto commented Sep 30, 2013

add following patch to /patches

--- a/eoip.c.orig   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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant