summaryrefslogtreecommitdiffstats
path: root/proto/rip/rip.c
AgeCommit message (Collapse)Author
2000-06-04Don't set precedence and TTL for the dummy socket.Martin Mares
2000-06-04debug -> DBGMartin Mares
2000-06-01Updated RIP to new neighbor cache semantics. When presented with next hopMartin Mares
equal to a local address, just ignore the route (as it is usually just an external route exported by us echoed by some RIP peer), when given an invalid next hop, moan to the log.
2000-05-31IPv6: Absolutize link-scope addresses of incoming packets.Martin Mares
IPv6 socket interface is hopefully right now.
2000-05-30Removed several unused local variables.Martin Mares
2000-05-19Latest changes by Pavel have removed the error messages printed afterMartin Mares
unsuccessful socket open, but replaced them by segmentatio fault! Grrrrrrrrr.
2000-05-19Less error messages in case sk_open fails.Pavel Machek
2000-05-19Added name of protocol to messages being logged.Pavel Machek
2000-05-19Commented out the `inserting entry which is already there' message sinceMartin Mares
it's pretty normal: during feeding of the protocol, a new route can appear which will be announced normally and then repeated by the feeding process.
2000-05-17Minor cleaningPavel Machek
2000-05-16Turned off LOCAL_DEBUG.Martin Mares
2000-05-16Interface dummy is too strange for me... but psst, that's secret.Pavel Machek
2000-05-16Rip should now reconfigure itself only if needed.Pavel Machek
2000-05-11Several minor RIP changes (Pavel, please check as usually):Martin Mares
o Use FIB_ITERATE_INIT instead of calling the function fit_init() which is explictly marked as private in route.h. o When printing trace messages, don't spit out protocol name twice. o Some messages are a bit more verbose. o Added a bunch of FIXME's. o When running in broadcast mode, don't forget to bind the local end of the socket to the same broadcast address, so that we don't get the broadcasts looped back via different interface. I'm just going to look up the same problem for multicasts.
2000-05-11Fixed nasty segfault in rip.Pavel Machek
2000-05-11Some more paranoia into rip_insert and rip_deletePavel Machek
2000-05-11Unused variable killed.Pavel Machek
2000-05-10use password_same utility functionPavel Machek
2000-05-10Inlined metric and mode into struct rip_interface to make reconfigPavel Machek
work. reconfigure is conservative but should work.
2000-05-10rip_reconfigure done rightPavel Machek
2000-05-10ipa_same does not exist.Pavel Machek
2000-05-10Nicer messages from rip.Pavel Machek
2000-05-10Use ea_get_int instead of ea_find.Pavel Machek
2000-05-10Reconfigure hook copied from bgp.Pavel Machek
2000-05-10Send first udpate sooner.Pavel Machek
2000-05-10Only announce change to main routing table if it is better than current.Pavel Machek
2000-05-10Don't touch used memory.Pavel Machek
2000-05-10Killed unused variable.Pavel Machek
2000-05-10Fix segfaults by using new ea_get_int.Pavel Machek
2000-05-08Preference is a configurable parameter.Martin Mares
2000-05-07Added commands `show route protocol <p>' and `show route import <p>' whichMartin Mares
show the routing table as exported to the protocol given resp. as returned from its import control hook. To get handling of filtered extended attributes right (even in the old `show route where <filter>' command), the get_route_info hook gets an attribute list and all protocol specific rte attributes are contained there as temporary ones. Updated RIP to do that. Added ea_append() which joins two ea_list's.
2000-05-04#ifdef out lots of debugging information.Martin Mares
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
2000-05-04Spelling fixes.Pavel Machek
2000-05-02Defined format specifier `%M' which behaves as `%m', but takes theMartin Mares
error code as an argument. Use it in socket hooks where we really shouldn't rely on errno containing the right value or even existing.
2000-04-30Moved documentation to top of file, where it belongs.Pavel Machek
2000-04-29IpV6 now actually compiles.Pavel Machek
Mj, could you provide example of static config for ipv6 that is _not_ rejected by checks? I tried this and got rejected. route 62:168::/32 via 62:169::; route 1:2::/32 via 1:3::;
2000-04-28Killed fixme: I already fixed it.Pavel Machek
2000-04-28Provide rip_get_attr, how do I test it?Pavel Machek
2000-04-28Add sample documentation to rip.Pavel Machek
2000-04-26Use right address for ripv6.Pavel Machek
2000-04-26Cleanup in preparation for ipv6.Pavel Machek
2000-04-07Fix of comment.Pavel Machek
2000-04-01RIP: Set attribute class.Martin Mares
2000-04-01Removal of useless includes continues...Martin Mares
2000-04-01Use bsprintf() instead of sprintf().Martin Mares
2000-04-01Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-29Cross-protocol issues solved betterPavel Machek
2000-03-27Use neigh_connected_to in rip, and behave more correctlyPavel Machek
w.r.t. whotoldme and nexthop.
2000-03-26I broke compilation. Sorry.Pavel Machek
2000-03-26Split horizont done right.Pavel Machek
Locks done better.