129130131132133134135136137138139
header.nicname = a.nicname(); } else { header.nicname = header.name; } if (a.description().length() != 0) { header.description = a.description(); } else if (a.dlt().length != 0) { /* * Description comes from libpcap itself :) */
130131132133134135136137138139140
} else { header.nicname = header.name; } if (a.description().length() != 0) { header.description = a.description(); } else if (a.dlt().length != 0) { /* * Description comes from libpcap itself :) */ header.description = a.dlt()[0].getDescription();