<commit_before>refine flow SSDP_Flow += {
	function proc_ssdp_method(m: Method): bool
		%{
                connection()->bro_analyzer()->ProtocolConfirmation();

		BifEvent::generate_ssdp_method(connection()->bro_analyzer(), connection()->bro_analyzer()->Conn(), bytestring_to_val(${m.method}));

		return true;
		%}

        function proc_ssdp_header(hdr: Header): bool
                %{
                BifEvent::generate_ssdp_header(connection()->bro_analyzer(), connection()->bro_analyzer()->Conn(), bytestring_to_val(${hdr.name}), bytestring_to_val(${hdr.value}));

                return true;
                %}<commit_msg>Added checks for events to src/ssdp-analyzer.pac<commit_after>refine flow SSDP_Flow += {
	function proc_ssdp_method(m: Method): bool
		%{
		if ( ssdp_method ) 
			{
	                connection()->bro_analyzer()->ProtocolConfirmation();

			BifEvent::generate_ssdp_method(connection()->bro_analyzer(), connection()->bro_analyzer()->Conn(), bytestring_to_val(${m.method}));
			}

		return true;
		%}

        function proc_ssdp_header(hdr: Header): bool
                %{
		if ( ssdp_header )
			{
	                BifEvent::generate_ssdp_header(connection()->bro_analyzer(), connection()->bro_analyzer()->Conn(), bytestring_to_val(${hdr.name}), bytestring_to_val(${hdr.value}));
			}

		return true;
               %}
{'fraction_non_alphanumeric': 0.15652818991097922, 'fraction_numerical': 0.0, 'mean_word_length': 3.4084967320261437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5450147', 'n_tokens_mistral': 458, 'n_tokens_neox': 415, 'n_words': 55}