Fix size of zebra command
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sat, 27 Feb 2010 22:49:32 +0000 (00:49 +0200)
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
Sat, 27 Feb 2010 22:49:32 +0000 (00:49 +0200)
lib/quagga/src/quagga.c

index 44ad624..58d4cb8 100644 (file)
@@ -77,7 +77,7 @@ static struct {
 } zebra;
 
 /* prototypes intern */
-static unsigned char *zebra_route_packet(uint32_t, struct ipv4_route *);
+static unsigned char *zebra_route_packet(uint16_t, struct ipv4_route *);
 #if 0
 static unsigned char *try_read(ssize_t *);
 static int parse_interface_add(unsigned char *, size_t);
@@ -260,7 +260,7 @@ zebra_send_command(unsigned char *options)
 /* Creates a Route-Packet-Payload, needs address, netmask, nexthop,
    distance, and a pointer of an size_t */
 static unsigned char *
-zebra_route_packet(uint32_t cmd, struct ipv4_route *r)
+zebra_route_packet(uint16_t cmd, struct ipv4_route *r)
 {
 
   int count;