script: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Fri, 30 Jun 2023 09:57:55 +0000 (11:57 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Jul 2023 06:34:32 +0000 (06:34 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
script/traffic_replay
script/traffic_summary.pl

index e785e31babfac1a0e0de4566cdae14b3f4dbb93b..60b7adb6e52780ae0ecf2713b12dbab39778aa13 100755 (executable)
@@ -174,7 +174,7 @@ def main():
         if not os.path.exists(model_file):
             logger.error("Model file %s doesn't exist" % model_file)
             sys.exit(1)
-    # the model-file can be ommitted for --generate-users-only and
+    # the model-file can be omitted for --generate-users-only and
     # --cleanup-up, but it should be specified in all other cases
     elif not opts.generate_users_only:
         logger.error("No model file specified to replay traffic from")
index 05c1cf03702b34264e46fbd713c6ffe26d08abda..295a320aa0a07b14b0808da1319bc2003a30f7ab 100755 (executable)
@@ -45,7 +45,7 @@ my $ip_sequence = 0;     # count of unique IP addresses seen
 
 my $timestamp;           # Packet timestamp
 my $stream;              # Wireshark stream number
-my $ip_proto;            # IP protocol (IANA protocl number)
+my $ip_proto;            # IP protocol (IANA protocol number)
 my $source;              # source IP address
 my $dest;                # destination address
 my $proto;               # application protocol name
@@ -578,7 +578,7 @@ It reads the pdml input from stdin or the list of files passed on the command li
      B<Wireshark Stream Number>  Calculated by wireshark groups related requests and responses
      B<Source IP>                The unique sequence number for the source IP address
      B<Destination IP>           The unique sequence number for the destination IP address
-     B<protocl>                  The protocol name
+     B<protocol>                 The protocol name
      B<opcode>                   The protocol operation code
      B<Description>              The protocol or operation description
      B<extra>                    Extra protocol specific data, may be more than one field
@@ -636,7 +636,7 @@ It reads the pdml input from stdin or the list of files passed on the command li
 =head3 ldap modifiyRequest
      In addition to the standard ldap fields the modification type is also captured
 
-     modify_operator      for modifyRequests this contains the modifiy operation
+     modify_operator      for modifyRequests this contains the modify operation
                             0 - add
                             1 - delete
                             2 - replace
@@ -683,7 +683,7 @@ indicates a kerberos encrypted operation.
 tshark indicated that the packet was malformed, for ldap it usually indicates TLS
 encrypted traffic.
 
-=head1 LISENCE AND COPYRIGHT
+=head1 LICENSE AND COPYRIGHT
 
  Copyright (C) Catalyst.Net Ltd 2017