/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-helpers/mandos-client-iprouteadddel.c

  • Committer: Teddy Hogeborn
  • Date: 2026-05-17 23:56:03 UTC
  • Revision ID: teddy@recompile.se-20260517235603-5ygymkxkh32rxjkf
Remove white space at end of most lines

Remove white space at end of most lines.  Except for where it is
significant, like in shell script "here documents" where the delimiter
word is prefixed by "-", in block comments, and in config file example
settings.  Also not in README files, the INSTALL file, the DBUS-API
file, or the COPYING file (the last of which was copied verbatim from
FSF).

* dbus-mandos.conf: Remove white space at end of lines.
* debian/mandos-client.postinst: - '' -
* debian/mandos-client.templates: - '' -
* debian/mandos.postinst: - '' -
* dracut-module/password-agent.c: - '' -
* dracut-module/password-agent.xml: - '' -
* intro.xml: - '' -
* legalnotice.xml: - '' -
* mandos-clients.conf.xml: - '' -
* mandos-ctl.xml: - '' -
* mandos-keygen: - '' -
* mandos-keygen.xml: - '' -
* mandos-monitor.xml: - '' -
* mandos-options.xml: - '' -
* mandos.conf.xml: - '' -
* mandos.xml: - '' -
* network-hooks.d/wireless: - '' -
* plugin-helpers/mandos-client-iprouteadddel.c: - '' -
* plugin-runner.c: - '' -
* plugin-runner.xml: - '' -
* plugins.d/askpass-fifo.c: - '' -
* plugins.d/askpass-fifo.xml: - '' -
* plugins.d/mandos-client.c: - '' -
* plugins.d/mandos-client.xml: - '' -
* plugins.d/password-prompt.c: - '' -
* plugins.d/password-prompt.xml: - '' -
* plugins.d/plymouth.c: - '' -
* plugins.d/plymouth.xml: - '' -
* plugins.d/splashy.c: - '' -
* plugins.d/splashy.xml: - '' -
* plugins.d/usplash.c: - '' -
* plugins.d/usplash.xml: - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
int fprintf_plus(FILE *stream, const char *format, ...){
95
95
  va_list ap;
96
96
  va_start(ap, format);
97
 
  
 
97
 
98
98
  fprintf(stream, "Mandos plugin helper %s: ",
99
99
          program_invocation_short_name);
100
100
  return vfprintf(stream, format, ap);
117
117
  struct rtnl_route *route = NULL;
118
118
  struct rtnl_nexthop *nexthop = NULL;
119
119
  struct nl_sock *sk = NULL;
120
 
  
 
120
 
121
121
  error_t parse_opt(int key, char *arg, struct argp_state *state){
122
122
    int lret;
123
123
    errno = 0;
165
165
    }
166
166
    return errno;
167
167
  }
168
 
  
 
168
 
169
169
  struct argp argp = { .options = options, .parser = parse_opt,
170
170
                       .args_doc = "[ add | delete ] ADDRESS INTERFACE",
171
171
                       .doc = "Mandos client helper -- Add or delete"
172
172
                       " local route to IP address on interface" };
173
 
  
 
173
 
174
174
  ret = argp_parse(&argp, argc, argv, ARGP_IN_ORDER, 0, &arguments);
175
175
  switch(ret){
176
176
  case 0: