removed trailing spaces ([[:space:]]+$)
This commit is contained in:
+10
-10
@@ -393,7 +393,7 @@ enum {
|
||||
END_SRCIP,
|
||||
END_HOSTACCESS,
|
||||
END_UPDOWN,
|
||||
|
||||
|
||||
#define END_LAST END_UPDOWN /* last end description*/
|
||||
|
||||
/* Connection Description options -- segregated */
|
||||
@@ -431,7 +431,7 @@ enum {
|
||||
CD_DPDTIMEOUT,
|
||||
CD_IKE,
|
||||
CD_PFSGROUP,
|
||||
CD_ESP,
|
||||
CD_ESP,
|
||||
|
||||
# define CD_LAST CD_ESP /* last connection description */
|
||||
|
||||
@@ -861,7 +861,7 @@ int main(int argc, char **argv)
|
||||
|
||||
msg.addr_family = AF_INET;
|
||||
msg.tunnel_addr_family = AF_INET;
|
||||
|
||||
|
||||
msg.cacert = NULL;
|
||||
msg.ldaphost = NULL;
|
||||
msg.ldapbase = NULL;
|
||||
@@ -1017,7 +1017,7 @@ int main(int argc, char **argv)
|
||||
if (!options->from(options, optarg, &argc, &argv, optind))
|
||||
{
|
||||
fprintf(stderr, "optionsfrom failed");
|
||||
whack_exit(RC_WHACK_PROBLEM);
|
||||
whack_exit(RC_WHACK_PROBLEM);
|
||||
}
|
||||
continue;
|
||||
|
||||
@@ -1134,7 +1134,7 @@ int main(int argc, char **argv)
|
||||
case OPT_STATUS: /* --status */
|
||||
msg.whack_status = TRUE;
|
||||
continue;
|
||||
|
||||
|
||||
case OPT_SHUTDOWN: /* --shutdown */
|
||||
msg.whack_shutdown = TRUE;
|
||||
continue;
|
||||
@@ -1180,7 +1180,7 @@ int main(int argc, char **argv)
|
||||
base = 256;
|
||||
else
|
||||
diagq("not a valid base", optarg);
|
||||
|
||||
|
||||
if (c == SC_INBASE)
|
||||
msg.inbase = base;
|
||||
else
|
||||
@@ -1472,7 +1472,7 @@ int main(int argc, char **argv)
|
||||
case CD_IKE: /* --ike <ike_alg1,ike_alg2,...> */
|
||||
msg.ike = optarg;
|
||||
continue;
|
||||
|
||||
|
||||
case CD_PFSGROUP: /* --pfsgroup modpXXXX */
|
||||
msg.pfsgroup = optarg;
|
||||
continue;
|
||||
@@ -1726,10 +1726,10 @@ int main(int argc, char **argv)
|
||||
{
|
||||
if (msg.dpd_delay <= 0)
|
||||
diag("dpddelay must be larger than zero");
|
||||
|
||||
|
||||
if (msg.dpd_timeout <= 0)
|
||||
diag("dpdtimeout must be larger than zero");
|
||||
|
||||
|
||||
if (msg.dpd_timeout <= msg.dpd_delay)
|
||||
diag("dpdtimeout must be larger than dpddelay");
|
||||
}
|
||||
@@ -1740,7 +1740,7 @@ int main(int argc, char **argv)
|
||||
|
||||
/* build esp message as esp="<esp>;<pfsgroup>" */
|
||||
if (msg.pfsgroup) {
|
||||
snprintf(esp_buf, sizeof (esp_buf), "%s;%s",
|
||||
snprintf(esp_buf, sizeof (esp_buf), "%s;%s",
|
||||
msg.esp ? msg.esp : "",
|
||||
msg.pfsgroup ? msg.pfsgroup : "");
|
||||
msg.esp=esp_buf;
|
||||
|
||||
+1
-1
@@ -280,7 +280,7 @@ enum rc_type {
|
||||
|
||||
/* entry of secrets */
|
||||
RC_ENTERSECRET = 40,
|
||||
|
||||
|
||||
/* progress: start of range for successful state transition.
|
||||
* Actual value is RC_NEW_STATE plus the new state code.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user