summaryrefslogtreecommitdiffstats
path: root/ripngd/ripngd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripngd.h')
-rw-r--r--ripngd/ripngd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index c9bcd8b0e..6ebc72dae 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -77,9 +77,6 @@
#define RIPNG_DEFAULT_ACCEPT_NONE 1
#define RIPNG_DEFAULT_ACCEPT 2
-/* Default value for "default-metric" command. */
-#define RIPNG_DEFAULT_METRIC_DEFAULT 1
-
/* For max RTE calculation. */
#ifndef IPV6_HDRLEN
#define IPV6_HDRLEN 40
@@ -105,7 +102,7 @@ struct ripng {
unsigned long timeout_time;
unsigned long garbage_time;
int max_mtu;
- int default_metric;
+ uint8_t default_metric;
/* Input/output buffer of RIPng. */
struct stream *ibuf;