summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2017-01-09 15:25:40 +0100
committerGitHub <noreply@github.com>2017-01-09 15:25:40 +0100
commitbf20dc0010eafd7e3a0576caceff6524b9cad6d5 (patch)
tree814785d8c436f7be8cbea6ef987702a2d38ba958
parent46a9496b7e6476cf6369d4d47a21184d1f781242 (diff)
parentd92c729ba55d7f99228a37902811a764414602d1 (diff)
Merge pull request #56 from qlyoung/if-metric
lib: make interface metric a uint32_t
-rw-r--r--lib/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.h b/lib/if.h
index cfa376d1ea..32e5d92a97 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -227,7 +227,7 @@ struct interface
uint64_t flags;
/* Interface metric */
- int metric;
+ uint32_t metric;
/* Interface MTU. */
unsigned int mtu; /* IPv4 MTU */