openbsd-ports/net/samba/patches/patch-ac
1998-05-06 02:17:22 +00:00

20 lines
591 B
Plaintext

*** nmbd_packets.c.orig Tue Apr 21 17:54:56 1998
--- nmbd_packets.c Tue Apr 21 17:55:40 1998
***************
*** 315,321 ****
struct nmb_packet *nmb = &packet->packet.nmb;
char second_ip_buf[25];
! strcpy(second_ip_buf, inet_ntoa(packet->ip));
nmb->header.opcode = NMB_NAME_MULTIHOMED_REG_OPCODE;
nmb->header.arcount = 1;
--- 315,321 ----
struct nmb_packet *nmb = &packet->packet.nmb;
char second_ip_buf[25];
! strcpy(second_ip_buf, (char *)inet_ntoa(packet->ip));
nmb->header.opcode = NMB_NAME_MULTIHOMED_REG_OPCODE;
nmb->header.arcount = 1;