Skip to content

Commit 3b93d91

Browse files
Andreagit97poiana
authored andcommitted
cleanup(driver): fix some comments
Signed-off-by: Andrea Terzolo <[email protected]>
1 parent 1d31ad6 commit 3b93d91

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

driver/modern_bpf/helpers/store/auxmap_store_params.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ static __always_inline void auxmap__store_socktuple_param(struct auxiliary_map *
707707
/* Pack the tuple info:
708708
* - socket family
709709
* - src_ipv4
710-
* - dest_ipv4
711710
* - src_port
711+
* - dest_ipv4
712712
* - dest_port
713713
*/
714714
push__u8(auxmap->data, &auxmap->payload_pos, socket_family_to_scap(socket_family));
@@ -759,8 +759,8 @@ static __always_inline void auxmap__store_socktuple_param(struct auxiliary_map *
759759
/* Pack the tuple info:
760760
* - socket family
761761
* - src_ipv6
762-
* - dest_ipv6
763762
* - src_port
763+
* - dest_ipv6
764764
* - dest_port
765765
*/
766766
push__u8(auxmap->data, &auxmap->payload_pos, socket_family_to_scap(socket_family));

test/drivers/event_class/event_class.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -747,8 +747,8 @@ void event_test::assert_tuple_unix_param(int param_num, uint8_t desired_family,
747747
assert_address_family(desired_family, 0);
748748

749749
/* Here we have the two pointers:
750-
* - source OS pointer.
751750
* - destination OS pointer.
751+
* - source OS pointer.
752752
* but we cannot make assertions on that.
753753
*/
754754

@@ -1002,4 +1002,4 @@ bool event_test::is_ext4_fs(int fd)
10021002
}
10031003
#endif
10041004
return false;
1005-
}
1005+
}

0 commit comments

Comments
 (0)