diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-04-15 13:34:09 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-04-15 13:34:09 +0000 |
commit | 02c77acc6bb20a35fce03f66108e7d38f3763106 (patch) | |
tree | eb0482ca583f23419130e20db38b5b4b729ca18b /usr.sbin/eigrpd/eigrpd.h | |
parent | ab2fc5617b7e278c997cc1cb7c7664e5aabc11c6 (diff) |
Check for subnet overlap between the configured summary-addresses.
Diffstat (limited to 'usr.sbin/eigrpd/eigrpd.h')
-rw-r--r-- | usr.sbin/eigrpd/eigrpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/eigrpd/eigrpd.h b/usr.sbin/eigrpd/eigrpd.h index da9efbba12e..34dd0b1b71b 100644 --- a/usr.sbin/eigrpd/eigrpd.h +++ b/usr.sbin/eigrpd/eigrpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: eigrpd.h,v 1.13 2016/04/15 13:21:45 renato Exp $ */ +/* $OpenBSD: eigrpd.h,v 1.14 2016/04/15 13:34:08 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -433,6 +433,8 @@ struct ctl_stats { struct eigrp_stats stats; }; +#define min(x,y) ((x) <= (y) ? (x) : (y)) + /* parse.y */ struct eigrpd_conf *parse_config(char *); int cmdline_symset(char *); |