aboutsummaryrefslogtreecommitdiff
path: root/net/eoip/patches
diff options
context:
space:
mode:
authorBogdan Shatik <bogdikxxx@mail.ru>2021-01-24 14:52:52 +0300
committerBogdan Shatik <bogdikxxx@mail.ru>2021-01-24 16:39:15 +0300
commit64e3fdbdce48eb238220e9473859e03dcf42ba19 (patch)
tree9e8d40b191fb12c17b3e4ef2f3bb5b894698827b /net/eoip/patches
parent952dbc05b2a277d7367f4a2297ea1834c46dfeaa (diff)
eoip: Add package
add eoip package,this can create ethernet tunnels compatible with Mikrotik EoIP tunnel. At current moment it is easiest way to create stateless tunnel with Mikrotik. Signed-off-by: Bogdan Shatik <bogdikxxx@mail.ru>
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: