Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stattrak-dragonlore/5114799 to your computer and use it in GitHub Desktop.
Save stattrak-dragonlore/5114799 to your computer and use it in GitHub Desktop.
autossh -Z option patch
diff --git a/autossh.c b/autossh.c
--- a/autossh.c
+++ b/autossh.c
@@ -104,7 +104,7 @@
#define NO_RD_SOCK -2 /* magic flag for echo: no read socket */
-#define OPTION_STRING "M:V1246ab:c:e:fgi:kl:m:no:p:qstvw:xyACD:F:I:MKL:NO:PR:S:TVXY"
+#define OPTION_STRING "M:V1246ab:c:e:fgi:kl:m:no:p:qstvw:xyACD:F:I:MKL:NO:PR:S:TVXYZ"
int logtype = L_SYSLOG; /* default log to syslog */
int loglevel = LOG_INFO; /* default loglevel */
@stattrak-dragonlore
Copy link
Author

brew edit autossh

def patches
   DATA
   "https://gist.github.com/dengzhp/5114799/raw/cff8e32b13f4c030190956726ef8abbeecc83406/brew+autossh+-Z+option+patch"
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment