diff options
author | Nick Hilliard <nick@inex.ie> | 2012-08-18 15:10:57 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-09-25 06:03:46 +0200 |
commit | bb2315f2878da685fae094aece13409667d21f97 (patch) | |
tree | b8625a91196bc54e4f4f253711c611bd9212e638 /ripd/rip_main.c | |
parent | 1b54f798d3cc359bec036db83c1c9bfab75d1244 (diff) |
ripd: clear sockaddr_in before using
ripd_create_socket() failed in bind() on Mac OS X 10.7 since there was garbage
in unused fields of struct sockaddr_in.
* ripd/ripd.c: zero out struct sockaddr_sin from before filling.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_main.c')
0 files changed, 0 insertions, 0 deletions