On Thu, Oct 24, 2013 at 12:48:23PM +0200, Jacob Erlbeck wrote:
llist_for_each_entry_safe(nsvc, nsvc2, &nsi->gprs_nsvcs, list) {if (nsvc->nsei != nsei)continue;if (nsvc->persistent)continue;if (!dry_run)gprs_nsvc_delete(nsvc);elsevty_out(vty, "NS-VC: NSEI %5u, NS-VCI %5u, ""remote %s%s",nsvc->nsei, nsvc->nsvci,gprs_ns_ll_str(nsvc), VTY_NEWLINE);counter += 1;}vty_out(vty, "%sDeleted %d NS-VC%s",dry_run ? "Not " : "", counter, VTY_NEWLINE);
ahhh, now I understand! Good solution! Going to review it again.