Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1458,8 +1458,8 @@ vtp_load_values(struct pcap_data *data, void *values)
case VTP_REQUEST:
aux_short = (u_int16_t *)ptr;
#ifdef LBL_ALIGN
memcpy((void *)&aux_short2, (void *)aux_short, 4);
vtp->start_val = ntohs(aux_short2);
memcpy((void *)aux_short2, (void *)aux_short, 4);
vtp->start_val = ntohs(*aux_short2);
#else
vtp->start_val = ntohs(*aux_short);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/yersinia.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ handle_signals_parent( void )
* POSIX functions for signals
*/
int
posix_signal( int signo, void (*handler)() )
posix_signal( int signo, void (*handler)(int) )
{
struct sigaction act;

Expand Down