summaryrefslogtreecommitdiff
path: root/scripts/ping
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-07 19:50:33 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-07 19:50:33 +0100
commita1786da965db0ab67cea187f4c0419087f8d8e8a (patch)
treea8ef4eb8f4433c11ad756693605ec78fc6449ec2 /scripts/ping
parentce031e42e09a193a4c2c57511ff72ab248ce8b7c (diff)
downloadvyatta-op-a1786da965db0ab67cea187f4c0419087f8d8e8a.tar.gz
vyatta-op-a1786da965db0ab67cea187f4c0419087f8d8e8a.zip
ping: T31: its now VyOS copyright
Diffstat (limited to 'scripts/ping')
-rwxr-xr-xscripts/ping41
1 files changed, 8 insertions, 33 deletions
diff --git a/scripts/ping b/scripts/ping
index e84ddd9..969e968 100755
--- a/scripts/ping
+++ b/scripts/ping
@@ -1,42 +1,17 @@
#! /usr/bin/env python3
-
-# Wrapper around the base Linux ping command to provide
-# nicer API (ie no flag arguments)
+# Copyright (C) 2018 VyOS maintainers and contributors
#
-# **** License ****
# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
+# it under the terms of the GNU General Public License version 2 or later as
# published by the Free Software Foundation.
#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# This code was originally developed by Vyatta, Inc.
-# Portions created by Vyatta are Copyright (C) 2012 Vyatta, Inc.
-# All Rights Reserved.
-#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
-# Syntax
-# ping HOST
-# [ audible ]
-# [ adaptive ]
-# [ allow-broadcast]
-# [ count REQUESTS ]
-# [ mark N ]
-# [ flow LABEL ]
-# [ flood ]
-# [ interval ]
-# [ pattern PATTERN ]
-# [ timestamp ]
-# [ tos VALUE ]
-# [ quiet ]
-# [ bypass-routing ]
-# [ size SIZE ]
-# [ ttl TTL ]
-# [ vrf table ]
-# [ verbose ]
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import sys