summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-01-041-2/+2
| | | | | | | | | | | | | | | | * configure.ac: Added test for broken CMSG_FIRSTHDR macro (relevant for Solaris 8 and unpatched Solaris 9, don't know whether other platforms are affected). * zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined by the configure test program). * sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * rtadv.c: (rtadv_recv_packet,rtadv_send_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripd.c: (rip_recvmsg) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR. * ripngd.c: (ripng_recv_packet) Use ZCMSG_FIRSTHDR instead of CMSG_FIRSTHDR.
* 2004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-071-2/+2
| | | | * *.c: Change level of debug messages to LOG_DEBUG.
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-201-7/+7
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* Fix warnings. Didn't even look at files not compiled in Linux though.hasso2004-10-071-2/+2
|
* Compiler warnings fixes.hasso2004-09-261-1/+1
|
* Remove usage of evil list and listnode typedefs.hasso2004-09-231-6/+6
|
* Include padding in control message length.gdt2004-08-111-1/+1
| | | | Inspired by netbsd:src/usr.sbin/rtadvd/rtadvd.c (from KAME).
* 2004-08-11 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-08-111-20/+20
| | | | | | | * rtadv.c (rtadv_send_packet): Allocate space for control messages more carefully; it was wrong on NetBSD/sparc where CMSG alignment is to 8 bytes instead of 4, and overwriting the address. Use the provided macros for determining lengths.
* Add extra padding in cmsgdata buffer; there wasn't enough ongdt2004-08-111-1/+18
| | | | | | | | NetBSD/sparc, resulting in overwriting the address. Add code to check if overwriting is happening, at least for now. Set msg_flags to MSG_DONTROUTE; they had been stack garbage.
* Router advertisement cleanup. Removed compatibility command because it'shasso2004-05-181-78/+191
| | | | | | very annoying to have both obsolete "prefix-advertisement" and "prefix" in completion. We will break configuration anyway with secondary cleanup, so just remember mention it in release notes.
* Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso2004-03-041-0/+4
| | | | from vtysh ([quagga-dev 932]).
* change perror to zlog_errgdt2004-01-061-2/+5
|
* reorder includes to avoid warning.gdt2003-12-031-1/+1
| | | | fixes rest of bug #62
* 2003-08-27 Jay Fenlason <fenlason@redhat.com>paul2003-08-271-0/+1
| | | | | | | * bgpd/bgp_routemap.c: attr->med is type u_in32_t, should be compared with UINT32_MAX * ospfd/ospfd.c: remove redundant assert * zebra/rtadv.c: add missing include for zebra/rib.h
* 2003-06-15 Paul Jakma <paul@dishone.st>paul2003-06-151-5/+7
| | | | | | | | * lib/vty.{c,h}: Remove vty layer depending on a 'master' global, pass the thread master in explicitly to vty_init. Sort out some header dependency problems with lib/command.h * zebra/: Move globals to struct zebrad. Update vty_init(). * (.*)/\1_main.c: update call to vty_init().
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-071-3/+0
| | | | | | | | | | | | | | * (zebra/rtadvc.): can not set checksum for ICMPV6, see: From: Jun-ichiro itojun Hagino <itojun@iijlab.net> Subject: [zebra 11052] setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket. RFC2292 may not be clear enough about it (it talks about raw socket and ICMPv6 socket mixed up), but the next revision (draft-ietf-ipngwg-rfc2292bis-02.txt) is very clear about it. > An attempt to set IPV6_CHECKSUM for an ICMPv6 socket will fail.
* 2003-06-04 Paul Jakma <paul@dishone.st>paul2003-06-041-1/+12
| | | | * Merge of zebra privileges
* Initial revisionpaul2002-12-131-0/+1112