Displaying 1 result from an estimated 1 matches for "use_non_privileged_port".
2000 Apr 27
0
Patch for supporting "-L" option in scp
...-----------------------------------------------------------------
Index: 0.1/scp.c
--- scp.c
+++ scp.c
@@ -103,6 +103,10 @@
/* This is the port to use in contacting the remote site (is non-NULL). */
char *port = NULL;
+/* This is set to non-zero if non-privileged local port is desired. */
+int use_non_privileged_port = 0;
+
+
/*
* This function executes the given command as the specified user on the
* given host. This returns < 0 if execution fails, and >= 0 otherwise. This
@@ -178,6 +182,8 @@
args[i++] = "-l";
args[i++] = remuser;...