tags 307162 +tags
thanks

Hello,

I have created a little patch for this issue, please consider to apply
it and make a new upload soon (the package anyways seems to be in a bad
shape...).

Regards

-- 
  .''`.     Mario Iseli <[EMAIL PROTECTED]>
 : :'  :    proud user of Debian unstable
 `. `'`
   `-  Debian - when you have better things to do than fixing a system
diff -Naur pppstatus-0.4.2/pppstatus.c pppstatus-0.4.2.new/pppstatus.c
--- pppstatus-0.4.2/pppstatus.c 2007-04-15 23:08:17.000000000 +0200
+++ pppstatus-0.4.2.new/pppstatus.c     2007-04-15 22:58:05.000000000 +0200
@@ -964,7 +964,9 @@
                  !strcmp (get, "64") || !strcmp (get, "115.2") ||
                  !strcmp (get, "128") || !strcmp (get, "256") ||
                  !strcmp (get, "512") || !strcmp (get, "768") ||
-                 !strcmp (get, "1540"))
+                 !strcmp (get, "1024") || !strcmp(get, "1540") ||
+                 !strcmp (get, "2048") || !strcmp(get, "3072") ||
+                 !strcmp (get, "3072") || !strcmp(get, "3840"))
                {
                  SPEED[0] = atof (get);
                  if (!strcmp (get, "256"))
@@ -979,10 +981,18 @@
                    {
                      SPEED[1] = 128;
                    }
-                 else if (!strcmp (get, "1540"))
+                 else if (!strcmp (get, "1024"))
                    {
                      SPEED[1] = 256;
                    }
+                 else if (!strcmp (get, "1540"))
+                  {
+                     SPEED[1] = 256;
+                  }
+                 else if (!strcmp(get, "2048"))
+                  {
+                     SPEED[1] = 372;
+                  }
                  else
                    {
                      SPEED[1] = SPEED[0];
diff -Naur pppstatus-0.4.2/pppstatus.cfg pppstatus-0.4.2.new/pppstatus.cfg
--- pppstatus-0.4.2/pppstatus.cfg       2007-04-15 23:08:17.000000000 +0200
+++ pppstatus-0.4.2.new/pppstatus.cfg   2007-04-15 23:07:07.000000000 +0200
@@ -2,7 +2,7 @@
 # Please, leave interface, speed, high_contrast and video untouched (lowcase)
 
 interface = ppp0           # ppp0, ppp1, ...
-speed = 33.6               # 14.4, 28.8, 33.6, 56, 64, 115.2, 128, 256, 768, 
1540 (kbits/s)
+speed = 33.6               # 14.4, 28.8, 33.6, 56, 64, 115.2, 128, 256, 768, 
1024, 1540, 2048, 3072, 3840 (kbits/s)
 video = vga                # vga, mono
 bytes_info = mbytes        # bytes, kbytes or mbytes
 #user_email = root         # Check user email

Reply via email to