Skip to content

Instantly share code, notes, and snippets.

@mikma
mikma / dhcpv6_4o6.lua
Last active October 26, 2020 00:24
DHCPv4-over-DHCPv6 Wireshark dissector
--
-- DHCPv4-over-DHCPv6 Wireshark dissector
-- Copyright (C) 2020 Mikael Magnusson
--
-- This work is licensed under the terms of GPLv2 (or any later version).
--
do
local DHCPV6_OPTION_DHCPV4_MSG = 87
local DHCPV6_OPTION_6O4_SERVER = 88
diff -r e1a813d49fd4 src/main/java/net/fortuna/ical4j/vcard/property/Telephone.java
--- a/src/main/java/net/fortuna/ical4j/vcard/property/Telephone.java Tue Oct 01 20:54:12 2013 +1000
+++ b/src/main/java/net/fortuna/ical4j/vcard/property/Telephone.java Thu Nov 14 20:31:48 2013 +0100
@@ -176,6 +176,12 @@
for (Parameter param : getParameters()) {
final Parameter.Id id = param.getId();
+ // Value and parameter MUST match.
+ if ((Value.TEXT.equals(param) && uri == null) ||
+ (Value.URI.equals(param) && uri != null)) {