diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 09:55:51 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-08 20:02:49 +0200 |
commit | 988225dde133b7e0f16c60323430f0de6b3241c2 (patch) | |
tree | d2e0916930684f3a5aa3c41e70360e6f180bd303 /ospfd/ospf_main.c | |
parent | vtysh: drop unused variables & RETSIGTYPE (diff) | |
download | frr-988225dde133b7e0f16c60323430f0de6b3241c2.tar.xz frr-988225dde133b7e0f16c60323430f0de6b3241c2.zip |
build: determine CFLAGS more intelligently
Instead of hardcoding some compiler detection, this just checks which
CFLAGS actually work with the compiler specified by the user.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 3a7e83c2387885075c9ecf1912dd6c9399c6947a)
Diffstat (limited to 'ospfd/ospf_main.c')
-rw-r--r-- | ospfd/ospf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 758deaf3e..62eb41e77 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -218,7 +218,7 @@ main (int argc, char **argv) { case 'n': instance = atoi(optarg); - if (instance < 1 || instance > 65535) + if (instance < 1) exit(0); break; case 0: |