Skip to content

Commit

Permalink
Update skener.c
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubcizek authored Jul 27, 2024
1 parent a1a4bbd commit f201fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SkenerSite/skener.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ void analyze_capture(uint8_t *request, const struct pcap_pkthdr *response_header
struct arp_frame *arp_request = (struct arp_frame *)request;
// Ethernetova hlavicka odpovedi
struct ethernet_frame_header *eth = (struct ethernet_frame_header *)response;
// Zkontrolujeme, jestli se jedna o frame protokol ARP
// Zkontrolujeme, jestli se jedna o frame protokolu ARP
if (ntohs(eth->type) == ETHERNET_TYPE_ARP) {
// Pointer na ARP zpravu v odpovedi
struct arp_message_header *arp = (struct arp_message_header *)(response + sizeof(struct ethernet_frame_header));
Expand Down

0 comments on commit f201fd7

Please sign in to comment.