Skip to content

Commit

Permalink
Fix cosmetic issue with -v param. Fixes #46.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Sep 29, 2017
1 parent 53ac2e8 commit a0ee1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ubridge.c
Expand Up @@ -341,7 +341,6 @@ int main(int argc, char **argv)
setvbuf(stdout, NULL, _IOLBF, 0);
setvbuf(stderr, NULL, _IOLBF, 0);

printf("uBridge version %s running with %s\n", VERSION, pcap_lib_version());
while ((opt = getopt(argc, argv, "hved:f:H:")) != -1) {
switch (opt) {
case 'H':
Expand Down Expand Up @@ -381,6 +380,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
}
printf("uBridge version %s running with %s\n", VERSION, pcap_lib_version());
ubridge(hypervisor_ip_address, hypervisor_tcp_port);
return (EXIT_SUCCESS);
}

0 comments on commit a0ee1b5

Please sign in to comment.