Skip to content

Commit 73875de

Browse files
committed
LocalIP: don't print * if defaultRouteOnly is set
1 parent 5f1cb16 commit 73875de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/localip/localip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void ffPrintLocalIp(FFLocalIpOptions* options)
105105
if(options->moduleArgs.outputFormat.length == 0)
106106
{
107107
ffPrintLogoAndKey(key.chars, 0, &options->moduleArgs, FF_PRINT_TYPE_NO_CUSTOM_KEY);
108-
printIp(ip, true);
108+
printIp(ip, !(options->showType & FF_LOCALIP_TYPE_DEFAULT_ROUTE_ONLY_BIT));
109109
putchar('\n');
110110
}
111111
else

0 commit comments

Comments
 (0)