mirror of
https://github.com/bgp/bgpq4
synced 2025-02-28 08:53:11 +00:00
Make the -3 command line option a no-op
This commit is contained in:
7
bgpq4.c
7
bgpq4.c
@@ -146,9 +146,14 @@ main(int argc, char* argv[])
|
||||
if (getenv("IRRD_SOURCES"))
|
||||
expander.sources=getenv("IRRD_SOURCES");
|
||||
|
||||
while ((c = getopt(argc,argv,"46a:AbBdDEF:S:jJKf:l:L:m:M:NnW:pr:R:G:tTh:UwXsz"))
|
||||
while ((c = getopt(argc,argv,"346a:AbBdDEF:S:jJKf:l:L:m:M:NnW:pr:R:G:tTh:UwXsz"))
|
||||
!=EOF) {
|
||||
switch (c) {
|
||||
case '3':
|
||||
/*
|
||||
* No-op, left for backwards compatibility with bgpq3
|
||||
*/
|
||||
break;
|
||||
case '4':
|
||||
/* do nothing, expander already configured for IPv4 */
|
||||
if (expander.family == AF_INET6) {
|
||||
|
||||
Reference in New Issue
Block a user