On Tue, Apr 03, 2001 at 10:38:24AM -0500, David Milburn wrote:
>
> The problem that you are seeing is in libpppoe.c,
>
> #define TAG_DATA(type, tag_ptr) ((type *) tag_ptr+1)
>
> This is causing the failure in verify_packet where hu_val is set, if you
> printf the value of 'ses' you will probably see that the f1a0 is correct, it
> is the 0400 causing the miscompare.
>
> hu_val = *TAG_DATA(struct session*, p->tags[TAG_HOST_UNIQ]);
>
> Maybe someone more familiar with the arm compiler can shed some light?
Out of interest, what type is hu_val and p->tags ?
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.