/mandos/release

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

« back to all changes in this revision

Viewing changes to plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2015-07-05 21:38:01 UTC
  • mto: (237.7.307 trunk)
  • mto: This revision was merged to the branch mainline in revision 325.
  • Revision ID: teddy@recompile.se-20150705213801-pi8vk0ovlumuj826
plugin-helpers/mandos-client-iprouteadddel.c: Fix #include lines.
(main): Fix minor typo in error message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
710
710
  int ret;
711
711
  char helper[] = "mandos-client-iprouteadddel";
712
712
  char add_arg[] = "add";
713
 
  char remove_arg[] = "remove";
 
713
  char delete_arg[] = "delete";
714
714
  char *pluginhelperdir = getenv("MANDOSPLUGINHELPERDIR");
715
715
  if(pluginhelperdir == NULL){
716
716
    if(debug){
791
791
#pragma GCC diagnostic ignored "-Wcast-qual"
792
792
#endif
793
793
    if(fexecve(helper_fd, (char *const [])
794
 
               { helper, add ? add_arg : remove_arg, (char *)address,
 
794
               { helper, add ? add_arg : delete_arg, (char *)address,
795
795
                   interface, NULL }, environ) == -1){
796
796
#ifdef __GNUC__
797
797
#pragma GCC diagnostic pop