Erich Schneeweiss wrote:
> mysql> select * from host;
> +----+--------------+------+-------+------+-------+------+--------+--------+
> | id | name | root | style | info | owner | port | online |
> prefix |
> +----+--------------+------+-------+------+-------+------+--------+--------+
> | 1 | localhost | 1 | 1 | auth | 0 | 0 | 1
> | |
> | 2 | localhost | 34 | 2 | | 1 | 8080 | 1
> | |
> | 3 | midgard_test | 42 | 1 | auth | 0 | 8000 | 1
> | |
> +----+--------------+------+-------+------+-------+------+--------+--------+
> 3 rows in set (0.05 sec)
I think
mysql> update host set port=80 where id=1;
will fix it.
The 0 means 'any port', but not 'any port when no other is found for
this name'.
So it would depend on in which order the database returns the entries
(first
entry returned gets served).
This is not hard to change, BTW. Is this significant enough to change,
people?
Bye,
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]