Bug 198588 - Connection to ipv6 servers only work with manually adding the port
Summary: Connection to ipv6 servers only work with manually adding the port
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.2-alpha3
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 00:50 UTC by Daniel Roschka
Modified: 2009-09-14 07:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Roschka 2009-07-02 00:50:58 UTC
Version:           1.2-alpha3 (using KDE 4.2.4)
Installed from:    Debian testing/unstable Packages

When using quick connect I've two fields. One for the server address and one for the port. While using ipv6 I need to add the port also to the address field, because konvi elsewhere tries to connect to a cutted address. E.g.:

Using "2001:1418:13:1::25" tries to connect to "2001:1418:13:1::6667"
Using "[2001:1418:13:1::25]" tries to connect to "2001:1418:13:1::6667"
Using "[2001:1418:13:1::25]:6667" connects successful to "2001:1418:13:1::25:6667"
Using "2001:1418:13:1::25:6667" connects successful to "2001:1418:13:1::25:6667"
Using "ipv6.chat.eu.freenode.net" connects sucessful to "ipv6.chat.eu.freenode.net:6667"

As you can see, you have to add the port or use a hostname instead of a ipv6-address.
Comment 1 Eike Hein 2009-07-02 01:53:50 UTC
I wrote this stuff, so I'll care of it.
Comment 2 Eike Hein 2009-09-14 07:23:05 UTC
SVN commit 1023172 by hein:

* Fix a regression vs. the KDE 3 version that caused a failure to
  correctly parse shortened IPv6 addresses except when using RFC-
  2732-style bracket notation and explicitly stating a port to
  connect to.
BUG:198588
* Made the display of server address and port number in various
  connection-related chat view messages more consistent and IPv6-
  friendly (with the '<ip>:<port>' forward previously used, it
  could be hard to tell where the IP ended and the port began --
  now it's '<ip> (port <port>)').
CCBUG:139071


 M  +7 -0      ChangeLog  
 M  +10 -8     src/connectionmanager.cpp  
 M  +7 -4      src/irc/server.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023172