Skip to content

Commit

Permalink
[ntp] show ntp may take 20 seconds due to DNS issue. (sonic-net#354)
Browse files Browse the repository at this point in the history
Replace with ntpq -p -n
  • Loading branch information
jeromesun14 authored and jleveque committed Oct 25, 2018
1 parent 647c6bc commit 404e0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def bgp(verbose):
@click.option('--verbose', is_flag=True, help="Enable verbose output")
def ntp(verbose):
"""Show NTP information"""
cmd = "ntpq -p"
cmd = "ntpq -p -n"
run_command(cmd, display_cmd=verbose)


Expand Down

0 comments on commit 404e0f8

Please sign in to comment.