Opened 17 years ago
Closed 17 years ago
#2885 closed patch (invalid)
mythtv-setup does not allow hostnames for backen host and master server
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | 0.20 |
Severity: | medium | Keywords: | DHCP |
Cc: | Ticket locked: | no |
Description
In mythtv-setup-> general, one has to fill in the IP address of the backend host and Master server. This is used for the frontend to connect to the right server. However in a setup with dynamic IPs(dhcp) this is impossible. Therefore it should be possible to enter the hostname of the servers too.
Attachments (1)
Change History (6)
Changed 17 years ago by
Attachment: | connect.patch added |
---|
Patch for the mentioned problem/missing feature
comment:2 Changed 17 years ago by
Replying to stuartm:
Feature request without a patch.
You are fast! This was the first ticket I ever opened. Didn't know I had to add a patch right away. Anyways, here it is! Can you reopen the ticket, or should I file a new ticket? The attached patch improves connect function in mythsocket. when it can't connect to the hostname (because it is not an IP address, it tries to resolve it now and connect to the resolved IP address.
This is my first patch to mythtv, it is tested here at home, but please let me know if I didn't use the right format, or went the wrong direction with this solution.
comment:3 Changed 17 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:4 Changed 17 years ago by
Type: | defect → patch |
---|
For future reference, if you intend on attaching a patch then it's best to say that in the ticket description and change the ticket type to patch.
comment:5 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Qt has platform independent hostname stuff, should use that. But, of course, using DHCP doesn't mean that your IP will actually change, especially on a local network.
Feature request without a patch.