summaryrefslogtreecommitdiff
path: root/ripd/ripd.h
diff options
context:
space:
mode:
authorpaul <paul>2004-01-23 15:31:42 +0000
committerpaul <paul>2004-01-23 15:31:42 +0000
commit931cd54d52b9b034f8bf8b634e99bc2444d5094e (patch)
tree2dceb95d4110c0e501b34473a71f375c2cd385f7 /ripd/ripd.h
parentc15cfa832940dbdf49d1c1f03cfbab9078708e1e (diff)
2004-01-23 sowmini.varadhan@sun.com
* rip_interface.c: obsolete unbind code in rip_interface_multicast_set, and instead do the more portable (though slower) method of creating a socket for each outgoing packet and binding the source address on the new socket. * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that source address is determined by the caller of rip_request_send for ripv1 packets and non-multicast interfaces (rip_request_send loops over all connected address in all other cases). * rip_send_packet: don't send packets with source set to ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
Diffstat (limited to 'ripd/ripd.h')
-rw-r--r--ripd/ripd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 29e4f67c..13a72a11 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -377,7 +377,8 @@ void rip_offset_init ();
int if_check_address (struct in_addr addr);
int if_valid_neighbor (struct in_addr addr);
-int rip_request_send (struct sockaddr_in *, struct interface *, u_char);
+int rip_request_send (struct sockaddr_in *, struct interface *, u_char,
+ struct connected *);
int rip_neighbor_lookup (struct sockaddr_in *);
void rip_redistribute_add (int, int, struct prefix_ipv4 *, unsigned int,
struct in_addr *);