Re: xdm not seeing localhost

Mike Jagdis (mike@roan.co.uk)
Wed, 23 Sep 1998 09:12:00 +0100 (GMT/BST)


On Tue, 22 Sep 1998, Philip Blundell wrote:

> >True, but I said it should be *allowed* not set always. I can't
> >see any way of changing the IFF_BROADCAST flag on an interface
> >off hand.
>
> "ifconfig xx broadcast" should do the trick

To quote Yoda, "Tried it, have you?". You can't set (or presumably
unset) IFF_BROADCAST. I think this is because it is included in
the IFF_VOLATILE set which are always inherited from the existing
flags in net/core/dev.c: dev_change_flags() and never taken
from the new flags. I would change it but I'm not sure if that
is the only place or if something needs to be done if an interface
changes its broadcast flag.

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/