From: Francois-Xavier Le Bail Date: Wed, 2 Mar 2022 12:27:40 +0000 (+0100) Subject: SITA: Fix a typo in a variable name X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/911be2396dd5ee5849306c6c9ac09dd182f9394e?ds=sidebyside SITA: Fix a typo in a variable name --- diff --git a/pcap-sita.c b/pcap-sita.c index c53f3235..16475729 100644 --- a/pcap-sita.c +++ b/pcap-sita.c @@ -441,7 +441,7 @@ static char *translate_IOP_to_pcap_name(unit_t *u, char *IOPname, bpf_u_int32 if iface->iftype = iftype; /* remember the interface type of this interface */ - iface->IOPname = strdup(IOPnam); /* copy it and stick it into the structure */ + iface->IOPname = strdup(IOPname); /* copy it and stick it into the structure */ if (iface->IOPname == NULL) { /* oops, we didn't get the memory requested */ fprintf(stderr, "Error...couldn't allocate memory for IOPname...value of errno is: %d\n", errno); return NULL;