summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorlilinjie <lilinjie@uniontech.com>2023-04-04 16:18:07 +0800
committerlilinjie <lilinjie@uniontech.com>2023-04-04 16:18:07 +0800
commitae6dbc357ee10573468cbc687cac7a53f187b264 (patch)
tree4379d0bddcf5c57b8c6753700fb5d01287703ce6 /sample
parent58871f3452189af54fc1ce77d4817558c8332372 (diff)
downloadlibnet-ae6dbc357ee10573468cbc687cac7a53f187b264.tar.gz
fix typos
Signed-off-by: lilinjie <lilinjie@uniontech.com>
Diffstat (limited to 'sample')
-rw-r--r--sample/bgp4_hdr.c2
-rw-r--r--sample/bgp4_notification.c2
-rw-r--r--sample/bgp4_open.c2
-rw-r--r--sample/bgp4_update.c2
-rw-r--r--sample/fddi_tcp1.c2
-rw-r--r--sample/fddi_tcp2.c2
-rw-r--r--sample/mpls.c2
-rw-r--r--sample/ntp.c2
-rw-r--r--sample/rpc_tcp.c2
-rw-r--r--sample/rpc_udp.c2
-rw-r--r--sample/synflood.c2
-rw-r--r--sample/tcp1.c2
-rw-r--r--sample/tcp2.c2
-rw-r--r--sample/tftp.c2
-rw-r--r--sample/tring_tcp1.c2
-rw-r--r--sample/tring_tcp2.c2
-rw-r--r--sample/udp1.c2
17 files changed, 17 insertions, 17 deletions
diff --git a/sample/bgp4_hdr.c b/sample/bgp4_hdr.c
index a99e9b3..c468add 100644
--- a/sample/bgp4_hdr.c
+++ b/sample/bgp4_hdr.c
@@ -88,7 +88,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/bgp4_notification.c b/sample/bgp4_notification.c
index fb725ae..509f4ca 100644
--- a/sample/bgp4_notification.c
+++ b/sample/bgp4_notification.c
@@ -91,7 +91,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/bgp4_open.c b/sample/bgp4_open.c
index 17f50fd..5384295 100644
--- a/sample/bgp4_open.c
+++ b/sample/bgp4_open.c
@@ -100,7 +100,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/bgp4_update.c b/sample/bgp4_update.c
index d86d0bd..716b7e8 100644
--- a/sample/bgp4_update.c
+++ b/sample/bgp4_update.c
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/fddi_tcp1.c b/sample/fddi_tcp1.c
index 38374d8..1819c0a 100644
--- a/sample/fddi_tcp1.c
+++ b/sample/fddi_tcp1.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/fddi_tcp2.c b/sample/fddi_tcp2.c
index d8fee23..8f29954 100644
--- a/sample/fddi_tcp2.c
+++ b/sample/fddi_tcp2.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/mpls.c b/sample/mpls.c
index 23174d6..8641d0d 100644
--- a/sample/mpls.c
+++ b/sample/mpls.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/ntp.c b/sample/ntp.c
index b2ad9e0..36250d2 100644
--- a/sample/ntp.c
+++ b/sample/ntp.c
@@ -68,7 +68,7 @@ main(int argc, char **argv)
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/rpc_tcp.c b/sample/rpc_tcp.c
index fe898a9..a9bdce6 100644
--- a/sample/rpc_tcp.c
+++ b/sample/rpc_tcp.c
@@ -77,7 +77,7 @@ main(int argc, char **argv)
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/rpc_udp.c b/sample/rpc_udp.c
index b041c3c..57a8dd4 100644
--- a/sample/rpc_udp.c
+++ b/sample/rpc_udp.c
@@ -81,7 +81,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/synflood.c b/sample/synflood.c
index 8c45720..b62933c 100644
--- a/sample/synflood.c
+++ b/sample/synflood.c
@@ -81,7 +81,7 @@ main(int argc, char **argv)
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 't':
diff --git a/sample/tcp1.c b/sample/tcp1.c
index 3fe025c..dbf7cec 100644
--- a/sample/tcp1.c
+++ b/sample/tcp1.c
@@ -74,7 +74,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/tcp2.c b/sample/tcp2.c
index b2cad74..50d7410 100644
--- a/sample/tcp2.c
+++ b/sample/tcp2.c
@@ -76,7 +76,7 @@ main(int argc, char **argv)
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/tftp.c b/sample/tftp.c
index d625ac1..e6d6d29 100644
--- a/sample/tftp.c
+++ b/sample/tftp.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/tring_tcp1.c b/sample/tring_tcp1.c
index 850564a..9c3ca8f 100644
--- a/sample/tring_tcp1.c
+++ b/sample/tring_tcp1.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/tring_tcp2.c b/sample/tring_tcp2.c
index ceeadfb..cb99e45 100644
--- a/sample/tring_tcp2.c
+++ b/sample/tring_tcp2.c
@@ -77,7 +77,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':
diff --git a/sample/udp1.c b/sample/udp1.c
index ff406dc..b12022e 100644
--- a/sample/udp1.c
+++ b/sample/udp1.c
@@ -78,7 +78,7 @@ main(int argc, char *argv[])
/*
* We expect the input to be of the form `ip.ip.ip.ip.port`. We
* point cp to the last dot of the IP address/port string and
- * then seperate them with a NULL byte. The optarg now points to
+ * then separate them with a NULL byte. The optarg now points to
* just the IP address, and cp points to the port.
*/
case 'd':