/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-runner.conf

  • Committer: Teddy Hogeborn
  • Date: 2009-01-14 14:20:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090114142017-84t4kfw56bsftjlo
Fixes for sscanf usage:

* plugin-runner.c (main): Parse numbers correctly and portably using
                          an intermediate "intmax_t".  Cast "pid_t" to
                          "intmax_t" before passing it to "printf()".
* plugins.d/mandos-client.c (main): Parse numbers correctly and
                                    portably using an intermediate
                                    "intmax_t".  Bug fix: cast
                                    "AvahiIfIndex" to "intmax_t" and
                                    use "PRIdMAX" instead of using
                                    "PRIu16", and use "PRIu16" to
                                    format port number.
* plugins.d/splashy.c (main): Parse numbers correctly and portably
                              using an intermediate "intmax_t".
* plugins.d/usplash.c (main): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## This is the configuration file for plugin-runner.  It should be
 
2
## installed as "/etc/mandos/plugin-runner.conf", which will be copied
 
3
## to "/conf/conf.d/mandos/plugin-runner.conf" in the initrd.img file.
 
4
##
 
5
## After editing this file, the initrd image file must be updated for
 
6
## the changes to take effect!
 
7
## 
 
8
## The default network interface for mandos-client(8mandos) is
 
9
## "eth0".  Uncomment this line and change it if necessary.
 
10
## 
 
11
#--options-for=mandos-client:--interface=eth0