]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Dereference the *right* function pointer.
authorguy <guy>
Mon, 25 Apr 2005 19:17:25 +0000 (19:17 +0000)
committerguy <guy>
Mon, 25 Apr 2005 19:17:25 +0000 (19:17 +0000)
print-fr.c

index 451198446dd76a46c0f880d8e7cc6b5f48269c4b..8536ce629b40c2fcdc386a960d776a848ff0c16f 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.33 2005-04-25 16:29:00 guy Exp $ (LBL)";
+       "@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.34 2005-04-25 19:17:25 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -575,7 +575,7 @@ q933_print(const u_char *p, u_int length)
                            ie_p->ie_len);
                     
                 if (!fr_q933_print_ie_codeset[codeset] ||
-                    (*fr_q933_print_ie_codeset)(ie_p, ptemp)) {
+                    (*fr_q933_print_ie_codeset[codeset])(ie_p, ptemp)) {
                     if (vflag <= 1)
                         print_unknown_data(ptemp+2,"\n\t",ie_p->ie_len);
                 }