Skip to content

networks: Fix error during creation of PPPoE connections

  • Currently, when trying to create PPPoE connection, we get an exception that dns_over_tls key is not found in the form's cleaned_data. Fix this by not expecting the field to be present only for PPPoE connections.

Tests:

  • Edit a regular Ethernet connection and change the value of DNS-over-TLS to all the different values and notice that the value is updated as expected.

  • Create a regular Ethernet connection with non-default value for DNS-over-TLS. The value for DNS-over-TLS on the connection set as expected.

  • Create/edit/delete of a PPPoE connection works.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading