diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-17 12:19:22 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-03-17 12:19:22 +0100 |
commit | 97e46d28fff1aa27d7d15e113cc3a52ae20934c7 (patch) | |
tree | 22f8466422eec5f2759a7263f7359f7b0b11abcc /sysdep/unix/unix.h | |
parent | 4e3bfd9006ba3033a814a392f9bf4bbca060c8a9 (diff) |
Adds check for no protocol and some minor CLI fixes.
- Adds check to deny config file with no specified protocol to prevent
loading of empty config file.
- Moves CLI init before config parse to receive immediate error message
when cannot open control socket.
- Fixes socket name path check and other error handling in CLI init.
Diffstat (limited to 'sysdep/unix/unix.h')
-rw-r--r-- | sysdep/unix/unix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/unix.h b/sysdep/unix/unix.h index 0b179e00..4de74f28 100644 --- a/sysdep/unix/unix.h +++ b/sysdep/unix/unix.h @@ -49,7 +49,7 @@ void io_init(void); void io_loop(void); void fill_in_sockaddr(sockaddr *sa, ip_addr a, unsigned port); void get_sockaddr(sockaddr *sa, ip_addr *a, unsigned *port, int check); -int sk_open_unix(struct birdsock *s, char *name); +void sk_open_unix(struct birdsock *s, char *name); void *tracked_fopen(struct pool *, char *name, char *mode); void test_old_bird(char *path); |