]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - putty.h
SSH port forwarding! How cool is that?
[PuTTY.git] / putty.h
diff --git a/putty.h b/putty.h
index 3fbde4ef69e06d5143b475a99faabcd1cf31079b..f2c9cc6ef87558e631510a4d167c634ada154436 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -313,6 +313,9 @@ typedef struct {
     /* X11 forwarding */
     int x11_forward;
     char x11_display[128];
+    /* port forwarding */
+    int lport_acceptall; /* accepts connection from hosts other than localhost */
+    char portfwd[1024]; /* [LR]localport\thost:port\000[LR]localport\thost:port\000\000 */
 } Config;
 
 /*