<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>1105</bug_id>
          
          <creation_ts>2002-07-16 11:37:55 +0400</creation_ts>
          <short_desc>Intreface name (longer than 9 chars) can\&apos;t be displayed by ifconfig from alt3</short_desc>
          <delta_ts>2003-08-25 15:18:32 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>net-tools</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dmitry Lebkov">dlebkov</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1053</commentid>
    <comment_count>0</comment_count>
    <who name="Dmitry Lebkov">dlebkov</who>
    <bug_when>2002-07-16 11:37:55 +0400</bug_when>
    <thetext>ifconfig не показывает полностью имя интерфейса/алиаса если
имя имеет длину более 9 символов:
vlan0029: Link encap:Ethernet  HWaddr 00:80:C8:CD:45:65
          inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1


---

---
Хотелось бы увеличить длину выводимого имени хотя бы на 2 символа.Например, в данный момент невозможно отобразить 
полное имя алиаса vlan0029:1 - оно обрезается до символа \&apos;:\&apos;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3885</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-07-16 12:48:14 +0400</bug_when>
    <thetext>Надо избегать использования таких длинных имен -
см. описание struct ifreq в /usr/include/net/if.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7250</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-07-16 12:48:14 +0400</bug_when>
    <thetext>Надо избегать использования таких длинных имен -
см. описание struct ifreq в /usr/include/net/if.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3886</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Lebkov">dlebkov</who>
    <bug_when>2002-07-17 02:24:21 +0400</bug_when>
    <thetext>Может я чего-то недопонял, но судя по if.h - IFNAMSIZ=IF_NAMESIZE=16 симвоов.
А в выводе ifconfig имя режется до 9. strlen(\&apos;vlan0029:10\&apos;) = 11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7251</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Lebkov">dlebkov</who>
    <bug_when>2002-07-17 02:24:21 +0400</bug_when>
    <thetext>Может я чего-то недопонял, но судя по if.h - IFNAMSIZ=IF_NAMESIZE=16 симвоов.
А в выводе ifconfig имя режется до 9. strlen(\&apos;vlan0029:10\&apos;) = 11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3887</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-11-19 20:06:33 +0300</bug_when>
    <thetext>Should be fixed in 1.60-alt4; please reopen if not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7252</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-11-19 20:06:33 +0300</bug_when>
    <thetext>Should be fixed in 1.60-alt4; please reopen if not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3888</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-12-29 00:48:31 +0300</bug_when>
    <thetext>Should be fixed in 1.60-alt4; please reopen if not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7253</commentid>
    <comment_count>8</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-12-29 00:48:31 +0300</bug_when>
    <thetext>Should be fixed in 1.60-alt4; please reopen if not.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>