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

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
1
## This is the configuration file for plugin-runner.  It should be
2
2
## installed as "/etc/mandos/plugin-runner.conf", which will be copied
3
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!
4
7
## 
5
 
## The default network interface for password-request(8mandos) is
 
8
## The default network interface for mandos-client(8mandos) is
6
9
## "eth0".  Uncomment this line and change it if necessary.
7
10
## 
8
 
 
9
 
#--options-for=password-request:--interface=eth0
 
11
#--options-for=mandos-client:--interface=eth0