mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 01:44:38 +08:00

Make pppoe_create() actually store the passed service name and concentrator name, so that they are passed in the PADI/PADR/PADS packets. Assume that the user application won't be freeing the strings and just copy the string pointers, therefore remove the mem_free() in pppoe_destroy(). Since only the pointers are copied now, make them 'const' in pppoe_softc. Signed-off-by: Sylvain Rochet <gradator@gradator.net> (cherry picked from commit c02fea096118930d866ee1572600c7c3c9d62e63)