You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

  1. From 1c148f6645f43bf5abd8a9b8f0708a598b357d97 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Thu, 14 May 2015 19:56:39 +0800
  4. Subject: [PATCH 205/210] xl2tpd: fix typo in reporting available lns count.
  5. ---
  6. xl2tpd.c | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/xl2tpd.c b/xl2tpd.c
  9. index c9b7579..6c945fc 100644
  10. --- a/xl2tpd.c
  11. +++ b/xl2tpd.c
  12. @@ -1039,7 +1039,7 @@ int control_handle_available(FILE* resf, char* bufp){
  13. lns_count++;
  14. }
  15. - write_res (resf, "%02i AVAILABLE lns.cout=%d\n", 0, lns_count);
  16. + write_res (resf, "%02i AVAILABLE lns.count=%d\n", 0, lns_count);
  17. lac = laclist;
  18. int lac_count = 0;
  19. @@ -1053,7 +1053,7 @@ int control_handle_available(FILE* resf, char* bufp){
  20. if(deflac){
  21. write_res (resf, "%02i AVAILABLE lac.%d.name=%s\n", 0, lac_count, deflac->entname);
  22. lac_count++;
  23. - }
  24. + }
  25. write_res (resf, "%02i AVAILABLE lac.count=%d\n", 0, lac_count);
  26. return 1;
  27. --
  28. 1.7.10.4