Sync isisd with changes in lib.
diff --git a/isisd/ChangeLog b/isisd/ChangeLog
index 420d7cf..8e4a09c 100644
--- a/isisd/ChangeLog
+++ b/isisd/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-11 Hasso Tepper <hasso at quagga.net>
+
+ * isis_routemap.c, isisd.c: Make more strings const.
+ * isisd.h: Make min_bcast_mtu unsigned.
+
2004-10-07 Hasso Tepper <hasso at quagga.net>
* *.[c|h]: Fix warnings: make strings const, signed -> unsigned,
diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c
index 688ca58..db52f32 100644
--- a/isisd/isis_routemap.c
+++ b/isisd/isis_routemap.c
@@ -52,7 +52,7 @@
extern struct isis *isis;
void
-isis_route_map_upd (char *name)
+isis_route_map_upd (const char *name)
{
int i = 0;
@@ -71,7 +71,7 @@
}
void
-isis_route_map_event (route_map_event_t event, char *name)
+isis_route_map_event (route_map_event_t event, const char *name)
{
int type;
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 8656d22..a74dce6 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -141,7 +141,7 @@
}
struct isis_area *
-isis_area_lookup (char *area_tag)
+isis_area_lookup (const char *area_tag)
{
struct isis_area *area;
struct listnode *node;
@@ -156,7 +156,7 @@
}
int
-isis_area_get (struct vty *vty, char *area_tag)
+isis_area_get (struct vty *vty, const char *area_tag)
{
struct isis_area *area;
@@ -182,7 +182,7 @@
}
int
-isis_area_destroy (struct vty *vty, char *area_tag)
+isis_area_destroy (struct vty *vty, const char *area_tag)
{
struct isis_area *area;
struct listnode *node;
diff --git a/isisd/isisd.h b/isisd/isisd.h
index f1093cc..c347bf0 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -90,7 +90,7 @@
struct isis_spftree *spftree6[ISIS_LEVELS]; /* The v4 SPTs */
struct route_table *route_table6; /* IPv6 routes */
#endif
- int min_bcast_mtu;
+ unsigned int min_bcast_mtu;
struct list *circuit_list; /* IS-IS circuits */
struct flags flags;
struct thread *t_tick; /* LSP walker */
@@ -134,7 +134,7 @@
};
void isis_init (void);
-struct isis_area *isis_area_lookup (char *);
+struct isis_area *isis_area_lookup (const char *);
#define DEBUG_ADJ_PACKETS (1<<0)
#define DEBUG_CHECKSUM_ERRORS (1<<1)